Hi all, I got an MSI build working on my WinXP VM just now, and I wanted to touch base with whomever it is that is maintaining this (wonderful!) set of scripts...
I ran into three problems, and I managed to figure out two of them; the third wasn't fatal. Note, the diff of my fixed checkout is attached. First, the script that finds & builds the external dependencies has two minor problems. * it puts Tcl in tcl-8.*, and Tk in tk-8.*, but msi.py looks for them in tcl8.* and tk8.* to grab the license text. I changed the glob strings appropriately and that seemed to work. * Tix isn't downloaded/installed/built automatically like everything else, and msi.py looks for its license file, too. I just removed the Tix reference. I can't figure out how to build Tix appropriately; any tips? Second, the buildmsi.bat file refers to python26a3.hhp instead of python27a0.hhp. Third, I could not get _tkinter to build properly, although it wasn't fatal to the endeavor. It couldn't find ..\..\tcltk\lib\tcl85.lib, although tcl85g.lib existed. Oh, and there were a bunch of missing commands that (as a non-Windows xpert) I had to figure out with google -- things like nasm/nasmw, for example. Are these documented somewhere, or would it be helpful to document them? I think I had to install: - Microsoft HTML Help Compiler - cygwin with make and python2.5 to build the docs - nasm (and copy nasm.exe to nasmw.exe) - cabarc Errm, and the 'buildmsi.bat' file has 'build' misspelled as 'buold' ;) I'd love to get this build process working completely automatically and 100% correctly, too. Hat tip to Trent Nelson, who helped me figure out where the scripts are and what other things I needed... cheers, --titus -- C. Titus Brown, c...@msu.edu
Index: Tools/msi/msi.py =================================================================== --- Tools/msi/msi.py (revision 76532) +++ Tools/msi/msi.py (working copy) @@ -875,9 +875,8 @@ for name, pat, file in (("bzip2","bzip2-*", "LICENSE"), ("Berkeley DB", "db-*", "LICENSE"), ("openssl", "openssl-*", "LICENSE"), - ("Tcl", "tcl8*", "license.terms"), - ("Tk", "tk8*", "license.terms"), - ("Tix", "tix-*", "license.terms")): + ("Tcl", "tcl-8*", "license.terms"), + ("Tk", "tk-8*", "license.terms")): out.write("\nThis copy of Python includes a copy of %s, which is licensed under the following terms:\n\n" % name) dirs = glob.glob(srcdir+"/../"+pat) if not dirs: Index: Tools/buildbot/buildmsi.bat =================================================================== --- Tools/buildbot/buildmsi.bat (revision 76532) +++ Tools/buildbot/buildmsi.bat (working copy) @@ -9,7 +9,7 @@ @rem build the documentation bash.exe -c 'cd Doc;make PYTHON=python2.5 update htmlhelp' -"%ProgramFiles%\HTML Help Workshop\hhc.exe" Doc\build\htmlhelp\python26a3.hhp +"%ProgramFiles%\HTML Help Workshop\hhc.exe" Doc\build\htmlhelp\python27a0.hhp @rem buold the MSI file cd PC
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com