Skip to content

Commit 03571b7

Browse files
committed
Fixed compatibility issue with guidata 1.6.1 (disthelpers.get_msvc_dlls)
1 parent e94a701 commit 03571b7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

make.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import shutil
2020
import sys
2121

22-
from guidata.disthelpers import get_msvc_dlls
22+
from guidata import disthelpers as dh
2323

2424
# Local imports
2525
from winpython import wppm, utils
@@ -378,8 +378,9 @@ def _extract_python(self):
378378
def _add_msvc_files(self):
379379
"""Adding Microsoft Visual C++ DLLs"""
380380
print("Adding Microsoft Visual C++ DLLs""")
381-
for fname in get_msvc_dlls(architecture=self.distribution.architecture,
382-
python_version=self.distribution.version):
381+
msvc_version = dh.get_msvc_version(self.distribution.version)
382+
for fname in dh.get_msvc_dlls(msvc_version,
383+
architecture=self.distribution.architecture):
383384
shutil.copy(fname, self.python_dir)
384385

385386
def _check_packages(self):
@@ -707,5 +708,5 @@ def make_all(build_number, release_level, pyver,
707708

708709

709710
if __name__ == '__main__':
710-
make_all(2, '', pyver='2.7', simulation=True)
711-
make_all(2, '', pyver='3.3', simulation=True)
711+
make_all(0, '', pyver='2.7')#, simulation=True)
712+
make_all(0, '', pyver='3.3')#, simulation=True)

0 commit comments

Comments
 (0)