]> source.dussan.org Git - gitignore.git/commitdiff
Make Python .gitignore directory entries match only directories. 509/head
authorChris Jerdonek <chris.jerdonek@gmail.com>
Thu, 17 Jan 2013 02:37:11 +0000 (18:37 -0800)
committerChris Jerdonek <chris.jerdonek@gmail.com>
Fri, 8 Nov 2013 02:13:43 +0000 (20:13 -0600)
This commit also alphabetizes the distribution/packaging section after
separating the directory entries from the file entries.  I left alone
a few entries that I'm not sure about (i.e. *.egg and the
"Mr Developer" section).

Python.gitignore

index 9ab94bd9d38f5ca2ef9b99cff557933ec7486143..221be09f2ec819eac62170540a0f590be632b6d4 100644 (file)
@@ -1,31 +1,31 @@
 # Byte-compiled / optimized / DLL files
+__pycache__/
 *.py[cod]
 
 # C extensions
 *.so
 
-# Packages
-*.egg
-*.egg-info
-dist
-build
-eggs
-parts
-bin
-var
-sdist
-develop-eggs
+# Distribution / packaging
+bin/
+build/
+develop-eggs/
+dist/
+eggs/
+lib/
+lib64/
+parts/
+sdist/
+var/
+*.egg-info/
 .installed.cfg
-lib
-lib64
-__pycache__
+*.egg
 
 # Installer logs
 pip-log.txt
 
 # Unit test / coverage reports
+.tox/
 .coverage
-.tox
 nosetests.xml
 
 # Translations