summaryrefslogtreecommitdiffstats
path: root/Tools/msi
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-04-04 07:10:59 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-04-04 07:10:59 (GMT)
commit1a494bdf694a9f495021b0e00563c7519754c011 (patch)
tree15294770d644d8b7be26c96ccefb3cac0aebc390 /Tools/msi
parentc95dd9488a7ebd5354dad2061e6b9cb608eb82f8 (diff)
downloadcpython-1a494bdf694a9f495021b0e00563c7519754c011.zip
cpython-1a494bdf694a9f495021b0e00563c7519754c011.tar.gz
cpython-1a494bdf694a9f495021b0e00563c7519754c011.tar.bz2
Add sqlite3 to the Windows build process.
Diffstat (limited to 'Tools/msi')
-rw-r--r--Tools/msi/msi.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index 74a364b..0b8fbc3 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -24,6 +24,8 @@ srcdir = os.path.abspath("../..")
full_current_version = None
# Is Tcl available at all?
have_tcl = True
+# Where is sqlite3.dll located, relative to srcdir?
+sqlite_dir = "../sqlite-source-3.3.4"
try:
from config import *
@@ -86,7 +88,8 @@ extensions = [
'_tkinter.pyd',
'_msi.pyd',
'_ctypes.pyd',
- '_ctypes_test.pyd'
+ '_ctypes_test.pyd',
+ '_sqlite3.pyd'
]
# Well-known component UUIDs
@@ -963,6 +966,8 @@ 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
+ lib.add_file(srcdir+"/"+sqlite_dir+"/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