diff options
author | Christian Heimes <christian@cheimes.de> | 2008-01-01 14:42:15 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-01-01 14:42:15 (GMT) |
commit | d9a4d1d5876203c17fa646c8908d15dfda99219a (patch) | |
tree | 4b0fef73e08649d0044724dea4c124d63d8da7ce /Tools/msi/msi.py | |
parent | f5243f07f640f4ae847f2d56e86f5b48ed78728a (diff) | |
download | cpython-d9a4d1d5876203c17fa646c8908d15dfda99219a.zip cpython-d9a4d1d5876203c17fa646c8908d15dfda99219a.tar.gz cpython-d9a4d1d5876203c17fa646c8908d15dfda99219a.tar.bz2 |
Merged revisions 59628-59641 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r59631 | christian.heimes | 2007-12-31 20:16:56 +0100 (Mon, 31 Dec 2007) | 1 line
Fixed path
........
r59632 | christian.heimes | 2007-12-31 20:20:57 +0100 (Mon, 31 Dec 2007) | 1 line
Fixed path to _ssl.c in Windows make file
........
r59633 | christian.heimes | 2007-12-31 20:23:22 +0100 (Mon, 31 Dec 2007) | 1 line
Fixed path to _ssl.c in Windows make file, take two
........
r59634 | christian.heimes | 2007-12-31 20:25:22 +0100 (Mon, 31 Dec 2007) | 1 line
Fixed path to _ssl.c in Windows make file, take three ...
........
r59635 | neal.norwitz | 2008-01-01 00:48:47 +0100 (Tue, 01 Jan 2008) | 1 line
Fix refleak
........
r59637 | guido.van.rossum | 2008-01-01 05:15:29 +0100 (Tue, 01 Jan 2008) | 5 lines
Fix an odd error which would only occur close to new year's eve, due
to use of datetime.datetime.now() instead of utcnow() for comparison.
(I think the test can still fail if it's executed pretty much *at*
new year's eve, but that's not worth fixing.)
........
r59638 | christian.heimes | 2008-01-01 14:40:26 +0100 (Tue, 01 Jan 2008) | 1 line
MSI uses back slashes as path separators
........
r59639 | christian.heimes | 2008-01-01 14:52:57 +0100 (Tue, 01 Jan 2008) | 1 line
Added new wininst files to msi.py and adjusted some paths
........
r59640 | christian.heimes | 2008-01-01 14:58:16 +0100 (Tue, 01 Jan 2008) | 1 line
The root of the project is two levels up from PC/VS7.1
........
r59641 | christian.heimes | 2008-01-01 15:37:32 +0100 (Tue, 01 Jan 2008) | 1 line
Added support for new Windows build dirs in PC/ to distutils.sysconfig
........
Diffstat (limited to 'Tools/msi/msi.py')
-rw-r--r-- | Tools/msi/msi.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 9de57b5..bedfade 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -27,8 +27,8 @@ have_tcl = True # Where is sqlite3.dll located, relative to srcdir? sqlite_dir = "../sqlite-source-3.3.4" # path to PCbuild directory -PCBUILD="PC/VS7.1" -#PCBUILD="PCbuild9" +PCBUILD="PC\\VS7.1" +#PCBUILD="PCbuild" # msvcrt version MSVCR = "71" #MSVCR = "90" @@ -335,7 +335,7 @@ def add_ui(db): if not os.path.exists(srcdir+r"\PC\python_icon.exe"): raise "Run icons.mak in PC directory" add_data(db, "Binary", - [("PythonWin", msilib.Binary(r"%s\%s\installer.bmp" % (srcdir, PCBUILD))), # 152x328 pixels + [("PythonWin", msilib.Binary(r"%s\PCbuild\installer.bmp" % srcdir)), # 152x328 pixels ("py.ico",msilib.Binary(srcdir+r"\PC\py.ico")), ]) add_data(db, "Icon", @@ -990,8 +990,10 @@ def add_files(db): lib.glob("*.gif") lib.add_file("idle.icns") if dir=="command" and parent.physical=="distutils": - lib.add_file("wininst-6.exe") + lib.add_file("wininst-6.0.exe") lib.add_file("wininst-7.1.exe") + lib.add_file("wininst-8.0.exe") + lib.add_file("wininst-9.0.exe") if dir=="setuptools": lib.add_file("cli.exe") lib.add_file("gui.exe") @@ -1009,8 +1011,8 @@ def add_files(db): # Add DLLs default_feature.set_current() lib = PyDirectory(db, cab, root, srcdir + "/" + PCBUILD, "DLLs", "DLLS|DLLs") - lib.add_file("py.ico", src="../PC/py.ico") - lib.add_file("pyc.ico", src="../PC/pyc.ico") + lib.add_file("py.ico", src=srcdir+"/PC/py.ico") + lib.add_file("pyc.ico", src=srcdir+"/PC/pyc.ico") dlls = [] tclfiles = [] for f in extensions: |