Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automatic versioning and required files #168

Merged
merged 3 commits into from
Feb 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ wheels/
.installed.cfg
*.egg
MANIFEST
_version.py

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include LICENSE
include requirements.txt
2 changes: 2 additions & 0 deletions icepyx/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from icepyx.core.query import Query

from _version import version as __version__
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
datetime
fiona
geopandas
h5py
matplotlib
numpy
pre-commit
JessicaS11 marked this conversation as resolved.
Show resolved Hide resolved
requests
shapely
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

setuptools.setup(
name="icepyx",
version="0.3.2",
author="The icepyx Developers",
author_email="jbscheick@gmail.com",
maintainer="Jessica Scheick",
Expand All @@ -27,4 +26,9 @@
"Operating System :: OS Independent",
"Development Status :: 1 - Planning",
],
use_scm_version={
"write_to": "_version.py",
"write_to_template": 'version = "{version}"\n',
},
setup_requires=["setuptools>=30.3.0", "wheel", "setuptools_scm"]
)