[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:
Ray Speth 2018-08-20 17:44:57 -04:00
parent af4ccaee09
commit af51a61ab1

View file

@ -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