Skip to content

Instantly share code, notes, and snippets.

@odra
Last active February 26, 2016 02:19
Show Gist options
  • Save odra/4572086c8dcf5a23fab5 to your computer and use it in GitHub Desktop.
Save odra/4572086c8dcf5a23fab5 to your computer and use it in GitHub Desktop.
gitignore file for python project
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
#OSX
.DS_Store
# Distribution / packaging
.Python
env/
venv/
venv*/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# 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
.hypothesis/
# Translations
*.mo
*.pot
# Django stuff:
*.log
# Sphinx documentation
docs/_build/
# PyBuilder
target/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment