Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/run-tests.py @ 5194:1843098e665a
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.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 17 Aug 2007 22:43:38 -0300 |
parents | ea7b982b6c08 |
children | 90919a6f5c8f |
comparison
equal
deleted
inserted
replaced
5193:942c0827dc5b | 5194:1843098e665a |
---|---|
134 vlog("# Performing temporary installation of HG") | 134 vlog("# Performing temporary installation of HG") |
135 installerrs = os.path.join("tests", "install.err") | 135 installerrs = os.path.join("tests", "install.err") |
136 | 136 |
137 os.chdir("..") # Get back to hg root | 137 os.chdir("..") # Get back to hg root |
138 cmd = ('%s setup.py clean --all' | 138 cmd = ('%s setup.py clean --all' |
139 ' install --force --home="%s" --install-lib="%s" >%s 2>&1' | 139 ' install --force --home="%s" --install-lib="%s"' |
140 % (sys.executable, INST, PYTHONDIR, installerrs)) | 140 ' --install-scripts="%s" >%s 2>&1' |
141 % (sys.executable, INST, PYTHONDIR, BINDIR, installerrs)) | |
141 vlog("# Running", cmd) | 142 vlog("# Running", cmd) |
142 if os.system(cmd) == 0: | 143 if os.system(cmd) == 0: |
143 if not verbose: | 144 if not verbose: |
144 os.remove(installerrs) | 145 os.remove(installerrs) |
145 else: | 146 else: |