Skip to content

Commit 0fdc4cd

Browse files
authored
Clean gitignore and manifest files (#642)
* remove unnecessary ignores from gitignore file #609 * remove unnecessary rules from manifest file #609
1 parent 2d5d300 commit 0fdc4cd

File tree

3 files changed

+23
-95
lines changed

3 files changed

+23
-95
lines changed

.gitignore

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ share/python-wheels/
2626
.installed.cfg
2727
*.egg
2828
MANIFEST
29-
xrspatial/_version.py
3029
xrspatial/.version
3130

32-
3331
# PyInstaller
3432
# Usually these files are written by a python script from a template
3533
# before PyInstaller builds the exe, so as to inject date/other infos into it.
@@ -58,19 +56,6 @@ coverage.xml
5856
*.mo
5957
*.pot
6058

61-
# Django stuff:
62-
*.log
63-
local_settings.py
64-
db.sqlite3
65-
db.sqlite3-journal
66-
67-
# Flask stuff:
68-
instance/
69-
.webassets-cache
70-
71-
# Scrapy stuff:
72-
.scrapy
73-
7459
# Sphinx documentation
7560
docs/_build/
7661

@@ -87,23 +72,6 @@ ipython_config.py
8772
# pyenv
8873
.python-version
8974

90-
# pipenv
91-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
93-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
94-
# install all needed dependencies.
95-
#Pipfile.lock
96-
97-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
98-
__pypackages__/
99-
100-
# Celery stuff
101-
celerybeat-schedule
102-
celerybeat.pid
103-
104-
# SageMath parsed files
105-
*.sage.py
106-
10775
# Environments
10876
.env
10977
.venv
@@ -113,22 +81,6 @@ ENV/
11381
env.bak/
11482
venv.bak/
11583

116-
# Spyder project settings
117-
.spyderproject
118-
.spyproject
119-
120-
# PyCharm projects
121-
.idea/
122-
123-
# Vscode projects
124-
.vscode/
125-
126-
# Rope project settings
127-
.ropeproject
128-
129-
# mkdocs documentation
130-
/site
131-
13284
# mypy
13385
.mypy_cache/
13486
.dmypy.json
@@ -140,4 +92,5 @@ dmypy.json
14092
/test_tiles_output
14193
*.TIF*
14294

95+
# airspeed velocity
14396
.asv/

MANIFEST.in

Lines changed: 6 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,10 @@
1-
include *.txt
2-
include *.md
1+
recursive-include xrspatial *.py
2+
recursive-include xrspatial *.nc
3+
4+
include LICENSE.txt
35
include xrspatial/.version
46

5-
graft xrspatial
67
graft xrspatial/examples
7-
graft xrspatial/examples/user_guide
8-
9-
prune docs
10-
prune *.egg-info
11-
12-
global-exclude *.png
13-
prune conda.recipe
14-
prune img
15-
prune .idea
16-
17-
exclude xrspatial/.DS_Store
18-
exclude examples/.ipynb_checkpoints/*
19-
exclude examples/user_guide/.ipynb_checkpoints/*
20-
exclude xrspatial/_version.py
21-
exclude xrspatial/.DS_Store
22-
exclude xrspatial/__pycache__/*
23-
24-
exclude xrspatial/examples/user_guide_idea/*
25-
exclude xrspatial/tests/.DS_Store
26-
exclude xrspatial/tests/__pycache__/*
27-
28-
exclude xrspatial/tests/__pycache__/*
29-
exclude xrspatial/tests/.DS_Store
30-
31-
exclude xrspatial/tests/_qgis_results/__pycache__/*
32-
exclude tile_idea.py
33-
exclude *.enc
34-
exclude .gitignore
35-
exclude .isort.cfg
36-
exclude *.dot
37-
exclude *.gif
38-
exclude *.svg
39-
exclude tox.ini
40-
exclude test_examples_cli.py
41-
include *.yml
428

43-
recursive-include examples *.gif
44-
recursive-include examples *.ipynb
45-
recursive-include examples *.py
46-
recursive-include examples *.yml
47-
recursive-include test_pip_packaging *.py
48-
recursive-include test_pip_packaging *.sh
9+
graft docs
10+
prune docs/build

pyproject.toml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,20 @@ requires = [
77
]
88
[tool.check-manifest]
99
ignore = [
10-
'xrspatial/examples/*',
11-
'xrspatial/examples/user_guide/*',
12-
'xrspatial/.version',
10+
'.appveyor.yml',
11+
'.version',
12+
'CHANGELOG.md',
13+
'CODE_OF_CONDUCT.md',
14+
'CONTRIBUTING.md',
15+
'Citation-styles.md',
16+
'RELEASE.md',
17+
'requirements-dev.txt',
18+
'requirements.txt',
19+
'test_examples_cli.py',
20+
'tox.ini',
21+
'benchmarks/*',
22+
'examples/*',
23+
'examples/user_guide/*',
24+
'img/*',
25+
'test_pip_packaging/*',
1326
]

0 commit comments

Comments
 (0)