[New-bugs-announce] [issue34251] MSI build fails
Kay Hayen
report at bugs.python.org
Fri Jul 27 15:52:35 EDT 2018
New submission from Kay Hayen <kay.hayen at gmail.com>:
Hello there,
building an MSI for my project fails. I am calling it like this:
assert subprocess.call(
(
sys.executable,
"setup.py",
"bdist_msi",
"--target-version=" + sys.version[:3]
)
) == 0
Giving the target version is probably non-sense and from a time, where one script was building multiple MSIs, I no longer do that.
and it gives:
File "C:\Python37_64\lib\site-packages\setuptools\__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "C:\Python37_64\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python37_64\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Python37_64\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Python37_64\lib\distutils\command\bdist_msi.py", line 256, in run
self.add_find_python()
File "C:\Python37_64\lib\distutils\command\bdist_msi.py", line 346, in add_find_python
if msilib.Win64:
AttributeError: module 'msilib' has no attribute 'Win64'
This happens for 32 and 64 bit CPython 3.7.0 installations. The same code works for all of 2.7, 3.3 through to 3.6, so this is a regression.
Any idea?
Thanks,
Kay
----------
components: Distutils
messages: 322510
nosy: dstufft, eric.araujo, kayhayen
priority: normal
severity: normal
status: open
title: MSI build fails
type: crash
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34251>
_______________________________________
More information about the New-bugs-announce
mailing list