Skip to content

Commit

Permalink
Add automatic versioning and required files (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsetiawan authored Feb 4, 2021
1 parent 9446737 commit ac78f81
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
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
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"]
)

0 comments on commit ac78f81

Please sign in to comment.