From: Michael R. Crusoe <crusoe@debian.org>
Subject: ensure that Python3 is being used
--- pycorrfit.orig/docs/README.md
+++ pycorrfit/docs/README.md
@@ -17,4 +17,4 @@
 =====
 To view the sphinx inventory of PyCorrFit, run
 
-   python -m sphinx.ext.intersphinx 'http://pycorrfit.readthedocs.io/en/latest/objects.inv'
+   python3 -m sphinx.ext.intersphinx 'http://pycorrfit.readthedocs.io/en/latest/objects.inv'
--- pycorrfit.orig/docs/sec_contribute.rst
+++ pycorrfit/docs/sec_contribute.rst
@@ -91,7 +91,7 @@
 
 ::
 
-    python setup.py test
+    python3 setup.py test
 
 
 Pull request guidelines
--- pycorrfit.orig/pycorrfit/_version.py
+++ pycorrfit/pycorrfit/_version.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Determine package version for git repositories from tags
 
 Each time this file is imported it checks if the ".git" folder is
@@ -84,7 +84,7 @@
 
     def save_version(version, versionfile):
         """save version to version_save.py"""
-        data = "#!/usr/bin/env python\n" \
+        data = "#!/usr/bin/env python3\n" \
             + "# This file was created automatically\n" \
             + "longversion = '{VERSION}'\n"
         try:
@@ -131,7 +131,7 @@
 
     if not hasattr(sys, 'frozen'):
         # Save the version to `_version_save.py` to allow distribution using
-        # `python setup.py sdist`.
+        # `python3 setup.py sdist`.
         # This is only done if the program is not frozen (with e.g.
         # pyinstaller),
         if longversion != load_version(versionfile):
--- pycorrfit.orig/tests/README.md
+++ pycorrfit/tests/README.md
@@ -3,7 +3,7 @@
 
 Execute all tests using `setup.py` in the parent directory:
 
-    python setup.py test
+    python3 setup.py test
 
 
 ### Running single tests
@@ -11,7 +11,7 @@
 Directly execute the scripts, e.g.
 
 
-    python test_simple.py
+    python3 test_simple.py
 
 
 
--- pycorrfit.orig/pycorrfit/_version_save.py
+++ pycorrfit/pycorrfit/_version_save.py
@@ -1,3 +1,3 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # This file was created automatically
 longversion = '1.1.7'
