[Python] Fix building MSI for Python 3.7 module
Workaround for https://bugs.python.org/issue34251 for Python 3.7.0
This commit is contained in:
parent
af4ccaee09
commit
af51a61ab1
1 changed files with 6 additions and 0 deletions
|
|
@ -30,6 +30,12 @@ if os.name == 'nt':
|
|||
|
||||
bdist_msi.run = bdist_run_new
|
||||
|
||||
# Monkey patch to resolve https://bugs.python.org/issue34251
|
||||
# (Affects Python 3.7.0)
|
||||
if os.name == 'nt':
|
||||
import msilib
|
||||
msilib.Win64 = msilib.AMD64
|
||||
|
||||
# Copy the long_description from docs/sphinx/index.rst
|
||||
long_description = """
|
||||
Cantera is a suite of object-oriented software tools for problems involving
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue