-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from klaundal/installable
restructured so the code is installable (thanks to @jvierine)
- Loading branch information
Showing
5 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import setuptools | ||
|
||
# Howto | ||
# | ||
#This is how to upload a project to pipy. This is mainly a note to self, as this is the first project I have uplo#aded to pypi: | ||
# | ||
#python3 -m venv /tmp/venv | ||
#source /tmp/venv/bin/activate | ||
#pip install build | ||
#pip install twine | ||
#python3 -m build | ||
#python3 -m twine upload dist/ppigrf-1.0.0.tar.gz | ||
|
||
#Genrate long description using readme file | ||
with open("README.md", "r", encoding="utf-8") as fh: | ||
long_description = fh.read() | ||
|
||
setuptools.setup( | ||
name="ppigrf", | ||
version="1.0.0", | ||
author="Karl Laundal", | ||
author_email="readme@file.md", | ||
description="Pure Python IGRF", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Science/Research", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3", | ||
], | ||
install_requires=[ | ||
'numpy>=0.13.1', | ||
], | ||
package_dir={"": "src"}, | ||
package_data={'':['IGRF13.shc']}, | ||
packages=setuptools.find_packages(where="src"), | ||
python_requires=">=3.6", | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.