summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index ba9ee85428..88094351ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,7 @@
+# Two-trick pony for OSX and other case insensitive file systems:
+# Ignore ./python binary on Unix but still look into ./Python/ directory.
+/python
+!/Python/**
*.cover
*.o
*.orig
@@ -58,7 +62,6 @@ libpython*.so*
platform
pybuilddir.txt
pyconfig.h
-python
python-config
python-config.py
python.exe