Commit a81606b8 authored by Martin v. Löwis's avatar Martin v. Löwis

Issue #6065: Do not try to build a version-independent

installer if the package has extension modules.

Also add NEWS entry for #5311.
parent 0b152163
......@@ -141,6 +141,8 @@ class bdist_msi (Command):
bdist_base = self.get_finalized_command('bdist').bdist_base
self.bdist_dir = os.path.join(bdist_base, 'msi')
short_version = get_python_version()
if (not self.target_version) and self.distribution.has_ext_modules():
self.target_version = short_version
if self.target_version:
self.versions = [self.target_version]
if not self.skip_build and self.distribution.has_ext_modules()\
......
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