Commits

Luke Plant committed 902c591

Switched to Python 2.7

  • Participants
  • Parent commits f45846e
  • Branches bookings

Comments (0)

Files changed (2)

     # Update virtualenv in new dir.
     with cd(version.src_dir):
         # We should already have a virtualenv, but it will need paths updating
-        run("virtualenv --python=python2.5 env")
+        run("virtualenv --python=python2.7 env")
         # Need this to stop ~/lib/ dirs getting in:
-        run("touch env/lib/python2.5/sitecustomize.py")
+        run("touch env/lib/python2.7/sitecustomize.py")
         with virtualenv(version.venv_dir):
             with cd(version.project_dir):
                 run_venv("pip install -r requirements.txt")
         pth_name = "deps.pth"
         with open(pth_name, "w") as fd:
             fd.write(pth_file)
-        put(pth_name, join(version.venv_dir, "lib/python2.5/site-packages"))
+        put(pth_name, join(version.venv_dir, "lib/python2.7/site-packages"))
         os.unlink(pth_name)
 
 
-#!/usr/bin/env python2.5
+#!/usr/bin/env python2.7
 import warnings
 #warnings.simplefilter("error", PendingDeprecationWarning)
 import os