[PATCH] run-tests: define more arguments when building with distutils

Dan Villiom Podlaski Christiansen danchr at gmail.com
Fri Aug 14 13:41:37 CDT 2009


# HG changeset patch
# User Dan Villiom Podlaski Christiansen <danchr at gmail.com>
# Date 1250275156 -7200
# Node ID 000ac96c0a680cc80847ae84ba2b3bb3108c77b4
# Parent  4e7149ed98e8cf910c6b556591d68ef301cb04b8
run-tests: define more arguments when building with distutils.

--home fixes building with it set in ~/.pydistutils.cfg.
--install-data is for possible future usage.

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -277,7 +277,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="" --install-data="" >%s 2>&1'
            % (sys.executable, pure, INST, PYTHONDIR, BINDIR, installerrs))
     vlog("# Running", cmd)
     if os.system(cmd) == 0:


More information about the Mercurial-devel mailing list