equal
deleted
inserted
replaced
174 installerrs = os.path.join("tests", "install.err") |
174 installerrs = os.path.join("tests", "install.err") |
175 |
175 |
176 # Run installer in hg root |
176 # Run installer in hg root |
177 os.chdir(os.path.join(os.path.dirname(sys.argv[0]), '..')) |
177 os.chdir(os.path.join(os.path.dirname(sys.argv[0]), '..')) |
178 cmd = ('%s setup.py clean --all' |
178 cmd = ('%s setup.py clean --all' |
179 ' install --force --home="%s" --install-lib="%s"' |
179 ' install --force --prefix="%s" --install-lib="%s"' |
180 ' --install-scripts="%s" >%s 2>&1' |
180 ' --install-scripts="%s" >%s 2>&1' |
181 % (sys.executable, INST, PYTHONDIR, BINDIR, installerrs)) |
181 % (sys.executable, INST, PYTHONDIR, BINDIR, installerrs)) |
182 vlog("# Running", cmd) |
182 vlog("# Running", cmd) |
183 if os.system(cmd) == 0: |
183 if os.system(cmd) == 0: |
184 if not verbose: |
184 if not verbose: |