summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2010-08-28 13:06:43 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2010-08-28 13:06:43 (GMT)
commit9f59fa5d67030eb5749938a99c4fe105955aedcc (patch)
treea6de2beb6052194d6937744bcf987c118ed8cf87
parentc8fdd10839a53c96bb64182441eaa51ff30e92a5 (diff)
downloadcpython-9f59fa5d67030eb5749938a99c4fe105955aedcc.zip
cpython-9f59fa5d67030eb5749938a99c4fe105955aedcc.tar.gz
cpython-9f59fa5d67030eb5749938a99c4fe105955aedcc.tar.bz2
Fix various build problems.
-rw-r--r--PCbuild/build_tkinter.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/PCbuild/build_tkinter.py b/PCbuild/build_tkinter.py
index 2d5797f..16e2997 100644
--- a/PCbuild/build_tkinter.py
+++ b/PCbuild/build_tkinter.py
@@ -13,7 +13,7 @@ par = os.path.pardir
TCL = "tcl8.5.2"
TK = "tk8.5.2"
-TIX = "tix-8.4.0.x"
+TIX = "tix-8.4.3.x"
ROOT = os.path.abspath(os.path.join(here, par, par))
# Windows 2000 compatibility: WINVER 0x0500
@@ -23,7 +23,7 @@ NMAKE = ('nmake /nologo /f %s '
'%s %s')
def nmake(makefile, command="", **kw):
- defines = ' '.join(k+'='+v for k, v in kw.items())
+ defines = ' '.join(k+'='+str(v) for k, v in kw.items())
cmd = NMAKE % (makefile, defines, command)
print("\n\n"+cmd+"\n")
if os.system(cmd) != 0:
@@ -53,8 +53,8 @@ def build(platform, clean):
os.chdir(os.path.join(ROOT, TK, "win"))
if clean:
nmake("makefile.vc", "clean", DEBUG=0, TCLDIR=tcldir)
- nmake("makefile.vc", DEBUG=0, MACHINE=machine)
- nmake("makefile.vc", "install", DEBUG=0, INSTALLDIR=dest, MACHINE=machine)
+ nmake("makefile.vc", DEBUG=0, MACHINE=machine, TCLDIR=tcldir)
+ nmake("makefile.vc", "install", DEBUG=0, INSTALLDIR=dest, MACHINE=machine, TCLDIR=tcldir)
# TIX
if 1:
@@ -63,7 +63,7 @@ def build(platform, clean):
if clean:
nmake("python.mak", "clean")
nmake("python.mak", MACHINE=machine, INSTALL_DIR=dest)
- nmake("python.mak", "install", INSTALL_DIR=dest)
+ nmake("python.mak", "install", MACHINE=machine, INSTALL_DIR=dest)
def main():
if len(sys.argv) < 2 or sys.argv[1] not in ("Win32", "AMD64"):