make Mercurial ignore additional setup.py/build/test artifacts

Files & folders starting '__' are temporary or cache artefacts produced by
either Python (e.g. '__pycache__' folders) or our internal development tools.

*.egg/*.gz/*.zip files may be downloaded by setup.py when running its develop/install/test commands.

*.egg-info folder gets created by setup.py when running its
build/develop/egg_info/install/test commands.
This commit is contained in:
Jurko Gospodnetić 2014-05-15 07:10:47 +02:00
parent cd35f9e29f
commit 437cedab54
1 changed files with 11 additions and 4 deletions

View File

@ -1,12 +1,19 @@
syntax: regexp
# Root folders - 'setup.py install' artifacts.
# 'setup.py' artifacts.
^build/
^dist/
^[^/]+.egg-info/
\.egg$
\.egg-info/
\.gz$
\.zip$
# Precompiled Python modules.
/__pycache__$
# Temporary or cache files & folders created by Python (e.g. __pycache__
# folders) or our internal development tools.
^__
/__
# Precompiled Python modules outside a __pycache__ folder.
\.pyc$
\.pyo$