summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-07-06 06:55:58 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-07-06 06:55:58 (GMT)
commit88ef6377773b9bafdec0c7d85d3eefccf8209c61 (patch)
tree53b8dba67abba537feaab913a40e3f17c188803a /Tools
parenta12aa88fd87f8992bbd137517c4c90f27e36c4e4 (diff)
downloadcpython-88ef6377773b9bafdec0c7d85d3eefccf8209c61.zip
cpython-88ef6377773b9bafdec0c7d85d3eefccf8209c61.tar.gz
cpython-88ef6377773b9bafdec0c7d85d3eefccf8209c61.tar.bz2
Add sqlite3.dll to the DLLs component, not to the TkDLLs component.
Fixes #1517388.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/msi.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index 2576380..c65c6bc 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -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