|
19 | 19 | import shutil |
20 | 20 | import sys |
21 | 21 |
|
22 | | -from guidata.disthelpers import get_msvc_dlls |
| 22 | +from guidata import disthelpers as dh |
23 | 23 |
|
24 | 24 | # Local imports |
25 | 25 | from winpython import wppm, utils |
@@ -378,8 +378,9 @@ def _extract_python(self): |
378 | 378 | def _add_msvc_files(self): |
379 | 379 | """Adding Microsoft Visual C++ DLLs""" |
380 | 380 | 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): |
383 | 384 | shutil.copy(fname, self.python_dir) |
384 | 385 |
|
385 | 386 | def _check_packages(self): |
@@ -707,5 +708,5 @@ def make_all(build_number, release_level, pyver, |
707 | 708 |
|
708 | 709 |
|
709 | 710 | 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