From afc29d16debd4e0500f3b8448fa3831e3a9355d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Jorda=CC=83o?= Date: Tue, 19 Aug 2014 22:12:46 -0300 Subject: [PATCH 1/2] Add a gitignore to the project (only *.pyc excluded for now) --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d20b64 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.pyc From 7e1bb93bbabf84221805341b896029b4aa660cb6 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Thu, 30 Oct 2014 15:22:38 -0300 Subject: [PATCH 2/2] Add a more complete python gitignore (from github/gitignore) --- .gitignore | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0d20b64..db4561e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,54 @@ -*.pyc +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +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 +.cache +nosetests.xml +coverage.xml + +# Translations +*.mo +*.pot + +# Django stuff: +*.log + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/