[Python-modules-commits] [python-virtualenv] 05/10: Even though /usr/bin/virtualenv is a Python 3 script now, in
Barry Warsaw
barry at moszumanska.debian.org
Mon Mar 7 22:20:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository python-virtualenv.
commit 3e874c2c836e65cfa9fb669a8f7469a970809d1f
Author: Barry Warsaw <barry at debian.org>
Date: Fri Oct 9 22:23:59 2015 +0200
Even though /usr/bin/virtualenv is a Python 3 script now, in
Debian we still want to default to using Python 2 unless the -p/--python
argument is given.
Forwarded: not-needed
Patch-Name: python2-default.patch
---
virtualenv.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/virtualenv.py b/virtualenv.py
index 4656339..48aeb77 100755
--- a/virtualenv.py
+++ b/virtualenv.py
@@ -543,9 +543,10 @@ def main():
'-p', '--python',
dest='python',
metavar='PYTHON_EXE',
+ default='python2',
help='The Python interpreter to use, e.g., --python=python2.5 will use the python2.5 '
- 'interpreter to create the new environment. The default is the interpreter that '
- 'virtualenv was installed with (%s)' % sys.executable)
+ 'interpreter to create the new environment. The default is the python2 '
+ 'interpreter on your path (e.g. /usr/bin/python2)')
parser.add_option(
'--clear',
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-virtualenv.git
More information about the Python-modules-commits
mailing list