run-tests.py: pass --install-scripts to setup.py
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Fri, 17 Aug 2007 22:43:38 -0300
changeset 5189 1843098e665a
parent 5188 942c0827dc5b
child 5190 6d5ed61c508c
run-tests.py: pass --install-scripts to setup.py This avoids possible problems when the user has a ~/.pydistutils.cfg. Fixes issue638. Patch provided by Ralf Schmitt.
tests/run-tests.py
--- a/tests/run-tests.py	Fri Aug 17 22:43:38 2007 -0300
+++ b/tests/run-tests.py	Fri Aug 17 22:43:38 2007 -0300
@@ -136,8 +136,9 @@
 
     os.chdir("..") # Get back to hg root
     cmd = ('%s setup.py clean --all'
-           ' install --force --home="%s" --install-lib="%s" >%s 2>&1'
-           % (sys.executable, INST, PYTHONDIR, installerrs))
+           ' install --force --home="%s" --install-lib="%s"'
+           ' --install-scripts="%s" >%s 2>&1'
+           % (sys.executable, INST, PYTHONDIR, BINDIR, installerrs))
     vlog("# Running", cmd)
     if os.system(cmd) == 0:
         if not verbose: