run-tests.py: use --prefix instead of --home
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Sat, 18 Oct 2008 21:08:44 +0200
changeset 7139 bcbba59e233d
parent 7138 0df098871e3d
child 7140 beeeb0cd73e7
run-tests.py: use --prefix instead of --home Some SUSE version don't like --home, they fail with: "error: must supply either home or prefix/exec-prefix -- not both" this is due to SUSE shipping a distutils.cfg conflicting with --home.
tests/run-tests.py
--- a/tests/run-tests.py	Sat Oct 18 20:47:47 2008 +0200
+++ b/tests/run-tests.py	Sat Oct 18 21:08:44 2008 +0200
@@ -176,7 +176,7 @@
     # Run installer in hg root
     os.chdir(os.path.join(os.path.dirname(sys.argv[0]), '..'))
     cmd = ('%s setup.py clean --all'
-           ' install --force --home="%s" --install-lib="%s"'
+           ' install --force --prefix="%s" --install-lib="%s"'
            ' --install-scripts="%s" >%s 2>&1'
            % (sys.executable, INST, PYTHONDIR, BINDIR, installerrs))
     vlog("# Running", cmd)