diff options
author | Stefan H. Holek <stefan@epy.co.at> | 2012-10-19 11:03:19 +0200 |
---|---|---|
committer | Stefan H. Holek <stefan@epy.co.at> | 2012-10-19 11:03:19 +0200 |
commit | 1dbc66bcd9190ce6f26e74b343a2133ac64ce611 (patch) | |
tree | 60685207cf8e1e0f3902329649aacd865d35c45d /distribute_setup.py | |
parent | acdb434b3d3748bbbadf18bdf259fa08df695cfb (diff) | |
parent | 25e819620334f3126cf5ba3809ab1338f648fa88 (diff) | |
download | external_python_setuptools-1dbc66bcd9190ce6f26e74b343a2133ac64ce611.tar.gz external_python_setuptools-1dbc66bcd9190ce6f26e74b343a2133ac64ce611.tar.bz2 external_python_setuptools-1dbc66bcd9190ce6f26e74b343a2133ac64ce611.zip |
Merged in leetrout/distribute (pull request #24)
--HG--
branch : distribute
extra : rebase_source : 1b2cc2c4e291dae6aeb47791c7c35510ca2c8e4f
Diffstat (limited to 'distribute_setup.py')
-rw-r--r-- | distribute_setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distribute_setup.py b/distribute_setup.py index 04c9864b..23d2a7d5 100644 --- a/distribute_setup.py +++ b/distribute_setup.py @@ -446,7 +446,8 @@ def _relaunch(): # we have to relaunch the process # pip marker to avoid a relaunch bug _cmd = ['-c', 'install', '--single-version-externally-managed'] - if sys.argv[:3] == _cmd: + _cmd2 = ['-c', 'install', '--record'] + if sys.argv[:3] == _cmd1 or sys.argv[:3] == _cmd2: sys.argv[0] = 'setup.py' args = [sys.executable] + sys.argv sys.exit(subprocess.call(args)) |