]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 61038,61042-61045,61047,61050,61053,61055-61056,61061-61062,61066...
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 29 Feb 2008 21:03:38 +0000 (21:03 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 29 Feb 2008 21:03:38 +0000 (21:03 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r61138 | martin.v.loewis | 2008-02-29 21:26:53 +0100 (Fr, 29 Feb 2008) | 1 line

  Make _hashlib depend on pythoncore.
........
  r61139 | martin.v.loewis | 2008-02-29 21:54:44 +0100 (Fr, 29 Feb 2008) | 1 line

  Package Tcl from tcltk64 on AMD64.
........

PCbuild/pcbuild.sln
Tools/msi/msi.py

index 53377760c87b54d628c8d64ece8c813b7799d901..69c4a83a837736eb83dc874f42efe7efca1cfe1e 100644 (file)
@@ -109,6 +109,10 @@ EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bdist_wininst", "bdist_wininst.vcproj", "{EB1C19C1-1F18-421E-9735-CAEE69DC6A3C}"
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_hashlib", "_hashlib.vcproj", "{447F05A8-F581-4CAC-A466-5AC7936E207E}"
+       ProjectSection(ProjectDependencies) = postProject
+               {B11D750F-CD1F-4A96-85CE-E69A5C5259F9} = {B11D750F-CD1F-4A96-85CE-E69A5C5259F9}
+               {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
+       EndProjectSection
 EndProject
 Global
        GlobalSection(SolutionConfigurationPlatforms) = preSolution
index e4d0945462f6e7aef396bb01d696e94746b3e8b9..1b7667d97ddddad31d525f95c80219cc5af382b7 100644 (file)
@@ -1022,8 +1022,10 @@ def add_files(db):
         sqlite_arch = "/ia64"
     elif msilib.msi_type=="x64;1033":
         sqlite_arch = "/amd64"
+        tclsuffix = "64"
     else:
         sqlite_arch = ""
+        tclsuffix = ""
     lib.add_file(srcdir+"/"+sqlite_dir+sqlite_arch+"/sqlite3.dll")
     if have_tcl:
         if not os.path.exists("%s/%s/_tkinter.pyd" % (srcdir, PCBUILD)):
@@ -1032,7 +1034,7 @@ def add_files(db):
             lib.start_component("TkDLLs", tcltk)
             lib.add_file("_tkinter.pyd")
             dlls.append("_tkinter.pyd")
-            tcldir = os.path.normpath(srcdir+"/../tcltk/bin")
+            tcldir = os.path.normpath(srcdir+("/../tcltk%s/bin" % tclsuffix))
             for f in glob.glob1(tcldir, "*.dll"):
                 lib.add_file(f, src=os.path.join(tcldir, f))
     # check whether there are any unknown extensions
@@ -1056,7 +1058,7 @@ def add_files(db):
         lib.add_file('libpython%s%s.a' % (major, minor))
     if have_tcl:
         # Add Tcl/Tk
-        tcldirs = [(root, '../tcltk/lib', 'tcl')]
+        tcldirs = [(root, '../tcltk%s/lib' % tclsuffix, 'tcl')]
         tcltk.set_current()
         while tcldirs:
             parent, phys, dir = tcldirs.pop()