Mercurial > hg > carton
comparison carton.py @ 17:b05f5f1ec26e
pop PYTHONHOME as this will fuxor things
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Fri, 08 Jul 2011 16:03:09 -0700 |
| parents | c91abbdc871b |
| children | c6a03199d4bf |
comparison
equal
deleted
inserted
replaced
| 16:c91abbdc871b | 17:b05f5f1ec26e |
|---|---|
| 74 else: | 74 else: |
| 75 raise Exception("virtualenv.py not found in " + tempdir) | 75 raise Exception("virtualenv.py not found in " + tempdir) |
| 76 print virtualenv | 76 print virtualenv |
| 77 | 77 |
| 78 # create the virtualenv | 78 # create the virtualenv |
| 79 os.environ.pop('PYTHONHOME', None) | |
| 79 call([sys.executable, virtualenv, ENV]) | 80 call([sys.executable, virtualenv, ENV]) |
| 80 | 81 |
| 81 # find the bin/scripts directory | 82 # find the bin/scripts directory |
| 82 for i in ('bin', 'Scripts'): | 83 for i in ('bin', 'Scripts'): |
| 83 scripts_dir = os.path.abspath(os.path.join(ENV, i)) | 84 scripts_dir = os.path.abspath(os.path.join(ENV, i)) |
