# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 2009-11-17 12:24:58 # Node ID 0a8a43b4ca7577fe90061f93b0988680b209ca6d # Parent b3b57ecbda50c64e224109e9592071a19c75dcac run-tests: set --home when building with distutils If home was set in ~/.pydistutils.cfg, the tests could not run. This overrides any home setting by supplying --home="" on the command line. diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -293,7 +293,7 @@ def installhg(options): os.chdir(hgroot) cmd = ('%s setup.py %s clean --all' ' install --force --prefix="%s" --install-lib="%s"' - ' --install-scripts="%s" >%s 2>&1' + ' --install-scripts="%s" --home="" >%s 2>&1' % (sys.executable, pure, INST, PYTHONDIR, BINDIR, installerrs)) vlog("# Running", cmd) if os.system(cmd) == 0: