]> granicus.if.org Git - python/commitdiff
Add sqlite3.dll to the DLLs component, not to the TkDLLs component.
authorMartin v. Löwis <martin@v.loewis.de>
Thu, 6 Jul 2006 06:55:58 +0000 (06:55 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Thu, 6 Jul 2006 06:55:58 +0000 (06:55 +0000)
Fixes #1517388.

Misc/NEWS
Tools/msi/msi.py

index 261981ddd4f3da22b6bde23c800f4792d460f41f..3de28233e462e5b4ae604963a377450026003a48 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -89,6 +89,9 @@ Extension Modules
 Build
 -----
 
+- Bug #1517388: sqlite3.dll is now installed on Windows independent
+  of Tcl/Tk.
+
 - Bug #1513032: 'make install' failed on FreeBSD 5.3 due to lib-old
   trying to be installed even though it's empty.
 
index 2576380519eb97ebdc84b9593b6cda66366e1c6b..c65c6bc2bbd46c546602776b219d5d12a130678a 100644 (file)
@@ -962,6 +962,14 @@ def add_files(db):
             continue
         dlls.append(f)
         lib.add_file(f)
+    # Add sqlite
+    if msilib.msi_type=="Intel64;1033":
+        sqlite_arch = "/ia64"
+    elif msilib.msi_type=="x64;1033":
+        sqlite_arch = "/amd64"
+    else:
+        sqlite_arch = ""
+    lib.add_file(srcdir+"/"+sqlite_dir+sqlite_arch+"/sqlite3.dll")
     if have_tcl:
         if not os.path.exists(srcdir+"/PCBuild/_tkinter.pyd"):
             print "WARNING: Missing _tkinter.pyd"
@@ -972,14 +980,6 @@ def add_files(db):
             tcldir = os.path.normpath(srcdir+"/../tcltk/bin")
             for f in glob.glob1(tcldir, "*.dll"):
                 lib.add_file(f, src=os.path.join(tcldir, f))
-    # Add sqlite
-    if msilib.msi_type=="Intel64;1033":
-        sqlite_arch = "/ia64"
-    elif msilib.msi_type=="x64;1033":
-        sqlite_arch = "/amd64"
-    else:
-        sqlite_arch = ""
-    lib.add_file(srcdir+"/"+sqlite_dir+sqlite_arch+"/sqlite3.dll")
     # check whether there are any unknown extensions
     for f in glob.glob1(srcdir+"/PCBuild", "*.pyd"):
         if f.endswith("_d.pyd"): continue # debug version