diff --git a/.gitignore b/.gitignore
index a933f816dd47f83fe7a5bd268642fe2b26655ebe..de9420af37000519582f533b720e4e3edaee791d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,10 @@
 *.dat
 output/
 
+# Version info for PyPI
+km3buu/version.py
+
+
 # Byte-compiled / optimized / DLL files
 __pycache__/
 *.py[cod]