Kaydet (Commit) 58af7ef5 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Patch #1545507: Exclude ctypes package in Win64 MSI file.

üst 7b3c0317
......@@ -36,6 +36,8 @@ Documentation
Build
-----
- Patch #1545507: Exclude ctypes package in Win64 MSI file.
- Fix OpenSSL debug build process.
......
......@@ -872,6 +872,12 @@ def add_files(db):
version=version, language=lang)
tmpfiles.append("msvcr71.dll")
# Check if _ctypes.pyd exists
have_ctypes = os.path.exists(srcdir+"/PCBuild/_ctypes.pyd")
if not have_ctypes:
print "WARNING: _ctypes.pyd not found, ctypes will not be included"
extensions.remove("_ctypes.pyd")
# Add all .py files in Lib, except lib-tk, test
dirs={}
pydirs = [(root,"Lib")]
......@@ -889,6 +895,8 @@ def add_files(db):
# data: Lib/email/test
# output: Lib/test
testsuite.set_current()
elif not have_ctypes and dir == "ctypes":
continue
else:
default_feature.set_current()
lib = PyDirectory(db, cab, parent, dir, dir, "%s|%s" % (parent.make_short(dir), dir))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment