Show More
@@ -384,12 +384,14 b' def installhg(options):' | |||||
384 | # least on Windows for now, deal with .pydistutils.cfg bugs |
|
384 | # least on Windows for now, deal with .pydistutils.cfg bugs | |
385 | # when they happen. |
|
385 | # when they happen. | |
386 | nohome = '' |
|
386 | nohome = '' | |
387 | cmd = ('%s setup.py %s clean --all' |
|
387 | cmd = ('%(exe)s setup.py %(pure)s clean --all' | |
388 | ' build --build-base="%s"' |
|
388 | ' build --build-base="%(base)s"' | |
389 | ' install --force --prefix="%s" --install-lib="%s"' |
|
389 | ' install --force --prefix="%(prefix)s" --install-lib="%(libdir)s"' | |
390 | ' --install-scripts="%s" %s >%s 2>&1' |
|
390 | ' --install-scripts="%(bindir)s" %(nohome)s >%(logfile)s 2>&1' | |
391 |
% (sys.executable, pure, |
|
391 | % dict(exe=sys.executable, pure=pure, | |
392 | INST, PYTHONDIR, BINDIR, nohome, installerrs)) |
|
392 | base=os.path.join(HGTMP, "build"), | |
|
393 | prefix=INST, libdir=PYTHONDIR, bindir=BINDIR, | |||
|
394 | nohome=nohome, logfile=installerrs)) | |||
393 | vlog("# Running", cmd) |
|
395 | vlog("# Running", cmd) | |
394 | if os.system(cmd) == 0: |
|
396 | if os.system(cmd) == 0: | |
395 | if not options.verbose: |
|
397 | if not options.verbose: |
General Comments 0
You need to be logged in to leave comments.
Login now