Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #41 from NorthIsUp/patch-2
Browse files Browse the repository at this point in the history
ensure that a compatible version of pip is installed
  • Loading branch information
Buck Evan committed Feb 5, 2015
2 parents 95d5e06 + 8be6941 commit 761b904
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions venv_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,10 @@ def stage1(venv_path, reqs):
if not exists(python):
return 'virtualenv executable not found: %s' % python

# ensure that a compatible version of pip is installed
run(('pip', '--version'))
run((python, '-m', 'pip.__main__', 'install', 'pip>=1.5.0,<6.0.0'))

exec_((python, dotpy(__file__), '--stage2', venv_path) + reqs) # never returns


Expand Down

0 comments on commit 761b904

Please sign in to comment.