Skip to content

Instantly share code, notes, and snippets.

@FvD
Last active August 29, 2015 00:12
Show Gist options
  • Save FvD/ea542a72ca1e755c6a29 to your computer and use it in GitHub Desktop.
Save FvD/ea542a72ca1e755c6a29 to your computer and use it in GitHub Desktop.
Standard .gitignore file for python projects
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# Bluemix vendored packages
vendor/
# 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.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
# Translations
*.mo
*.pot
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# WingIDE (we do want .wpr but not .wpu)
*.wpu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment