Skip to content

Commit

Permalink
add manifest and update requirements files pre-conda-forge release (#175
Browse files Browse the repository at this point in the history
)

* fix pre-commit library typo
* add local_scheme keyword to use_scm_version
* Update versioning and packaging
* Update MANIFEST.in to be alphabetical
* remove -r from requirements-docs and add requirements to readthedocs.yml
* update local_scheme in setup.py

Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
Co-authored-by: Landung Setiawan <landungs@uw.edu>
  • Loading branch information
3 people authored Mar 9, 2021
1 parent 30700d7 commit 9f94a70
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 6 deletions.
12 changes: 11 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
include LICENSE
prune .github*
prune doc*
prune examples*
prune icepyx/tests*
exclude .coveragerc
exclude .gitignore
exclude .mailmap
exclude *.ini
exclude *.txt
exclude *.yaml
exclude *.yml
include requirements.txt
2 changes: 1 addition & 1 deletion icepyx/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from icepyx.core.query import Query

from _version import version as __version__
from _icepyx_version import version as __version__
1 change: 1 addition & 0 deletions readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ python:
version: 3.7
install:
- requirements: requirements-docs.txt
requirements.txt
6 changes: 4 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
black
codecov
pre_commit
pypistats[pandas]
flake8
pre-commit
pypistats
pytest>=4.6
pytest-cov
1 change: 0 additions & 1 deletion requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ numpydoc
pybtex
pygithub
sphinxcontrib-bibtex
-r requirements.txt
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ matplotlib
numpy
requests
shapely
xarray
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
"Operating System :: OS Independent",
"Development Status :: 1 - Planning",
],
py_modules=["_icepyx_version"],
use_scm_version={
"fallback_version": "unknown",
"local_scheme": "node-and-date",
"write_to": "_version.py",
"write_to": "_icepyx_version.py",
"write_to_template": 'version = "{version}"\n',
},
setup_requires=["setuptools>=30.3.0", "wheel", "setuptools_scm"],
Expand Down

0 comments on commit 9f94a70

Please sign in to comment.