1. pombredanne
  2. cciw-website2


Luke Plant  committed 588deaf

Switched to Python 2.7

  • Participants
  • Parent commits df7630c
  • Branches default

Comments (0)

Files changed (2)

File fabfile.py

View file
     # 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:
-        put(pth_name, join(version.venv_dir, "lib/python2.5/site-packages"))
+        put(pth_name, join(version.venv_dir, "lib/python2.7/site-packages"))

File manage.py

View file
-#!/usr/bin/env python2.5
+#!/usr/bin/env python2.7
 import warnings
 #warnings.simplefilter("error", PendingDeprecationWarning)
 import os