diff --git a/MANIFEST.in b/MANIFEST.in index 096dd5031..957ccc9e2 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -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 diff --git a/icepyx/__init__.py b/icepyx/__init__.py index e70e9b1dc..653764c6e 100644 --- a/icepyx/__init__.py +++ b/icepyx/__init__.py @@ -1,3 +1,3 @@ from icepyx.core.query import Query -from _version import version as __version__ +from _icepyx_version import version as __version__ diff --git a/readthedocs.yml b/readthedocs.yml index aa93c7915..66da0bc43 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -21,3 +21,4 @@ python: version: 3.7 install: - requirements: requirements-docs.txt + requirements.txt diff --git a/requirements-dev.txt b/requirements-dev.txt index 016bf3b5f..96ae02300 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,7 @@ +black codecov -pre_commit -pypistats[pandas] +flake8 +pre-commit +pypistats pytest>=4.6 pytest-cov diff --git a/requirements-docs.txt b/requirements-docs.txt index d70347d23..d2f785927 100644 --- a/requirements-docs.txt +++ b/requirements-docs.txt @@ -4,4 +4,3 @@ numpydoc pybtex pygithub sphinxcontrib-bibtex --r requirements.txt diff --git a/requirements.txt b/requirements.txt index 1e34d2b92..1d4046368 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,3 +5,4 @@ matplotlib numpy requests shapely +xarray \ No newline at end of file diff --git a/setup.py b/setup.py index ab09bd49a..042cb43bd 100644 --- a/setup.py +++ b/setup.py @@ -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"],