diff --git a/.gitignore b/.gitignore index 2665fac0..c0ece6a3 100644 --- a/.gitignore +++ b/.gitignore @@ -26,10 +26,8 @@ share/python-wheels/ .installed.cfg *.egg MANIFEST -xrspatial/_version.py xrspatial/.version - # PyInstaller # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. @@ -58,19 +56,6 @@ coverage.xml *.mo *.pot -# Django stuff: -*.log -local_settings.py -db.sqlite3 -db.sqlite3-journal - -# Flask stuff: -instance/ -.webassets-cache - -# Scrapy stuff: -.scrapy - # Sphinx documentation docs/_build/ @@ -87,23 +72,6 @@ ipython_config.py # pyenv .python-version -# pipenv -# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. -# However, in case of collaboration, if having platform-specific dependencies or dependencies -# having no cross-platform support, pipenv may install dependencies that don't work, or not -# install all needed dependencies. -#Pipfile.lock - -# PEP 582; used by e.g. github.com/David-OConnor/pyflow -__pypackages__/ - -# Celery stuff -celerybeat-schedule -celerybeat.pid - -# SageMath parsed files -*.sage.py - # Environments .env .venv @@ -113,22 +81,6 @@ ENV/ env.bak/ venv.bak/ -# Spyder project settings -.spyderproject -.spyproject - -# PyCharm projects -.idea/ - -# Vscode projects -.vscode/ - -# Rope project settings -.ropeproject - -# mkdocs documentation -/site - # mypy .mypy_cache/ .dmypy.json @@ -140,4 +92,5 @@ dmypy.json /test_tiles_output *.TIF* +# airspeed velocity .asv/ diff --git a/MANIFEST.in b/MANIFEST.in index ab2c258b..de0116f4 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,48 +1,10 @@ -include *.txt -include *.md +recursive-include xrspatial *.py +recursive-include xrspatial *.nc + +include LICENSE.txt include xrspatial/.version -graft xrspatial graft xrspatial/examples -graft xrspatial/examples/user_guide - -prune docs -prune *.egg-info - -global-exclude *.png -prune conda.recipe -prune img -prune .idea - -exclude xrspatial/.DS_Store -exclude examples/.ipynb_checkpoints/* -exclude examples/user_guide/.ipynb_checkpoints/* -exclude xrspatial/_version.py -exclude xrspatial/.DS_Store -exclude xrspatial/__pycache__/* - -exclude xrspatial/examples/user_guide_idea/* -exclude xrspatial/tests/.DS_Store -exclude xrspatial/tests/__pycache__/* - -exclude xrspatial/tests/__pycache__/* -exclude xrspatial/tests/.DS_Store - -exclude xrspatial/tests/_qgis_results/__pycache__/* -exclude tile_idea.py -exclude *.enc -exclude .gitignore -exclude .isort.cfg -exclude *.dot -exclude *.gif -exclude *.svg -exclude tox.ini -exclude test_examples_cli.py -include *.yml -recursive-include examples *.gif -recursive-include examples *.ipynb -recursive-include examples *.py -recursive-include examples *.yml -recursive-include test_pip_packaging *.py -recursive-include test_pip_packaging *.sh \ No newline at end of file +graft docs +prune docs/build \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 1b16eb83..648b754b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,20 @@ requires = [ ] [tool.check-manifest] ignore = [ - 'xrspatial/examples/*', - 'xrspatial/examples/user_guide/*', - 'xrspatial/.version', + '.appveyor.yml', + '.version', + 'CHANGELOG.md', + 'CODE_OF_CONDUCT.md', + 'CONTRIBUTING.md', + 'Citation-styles.md', + 'RELEASE.md', + 'requirements-dev.txt', + 'requirements.txt', + 'test_examples_cli.py', + 'tox.ini', + 'benchmarks/*', + 'examples/*', + 'examples/user_guide/*', + 'img/*', + 'test_pip_packaging/*', ] \ No newline at end of file