Skip to content

Clean gitignore and manifest files #642

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

Merged
merged 2 commits into from
Jan 28, 2022
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
49 changes: 1 addition & 48 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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/

Expand All @@ -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
Expand All @@ -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
Expand All @@ -140,4 +92,5 @@ dmypy.json
/test_tiles_output
*.TIF*

# airspeed velocity
.asv/
50 changes: 6 additions & 44 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -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
graft docs
prune docs/build
19 changes: 16 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*',
]