Commits

Stefan H. Holek committed 8726755 Merge

Comments (0)

Files changed (1)

distribute_setup.py

     # 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))