Skip to content

Commit

Permalink
Fix build_distrib.py tool on Windows (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
cztomczak committed Aug 20, 2018
1 parent 9f3ba13 commit ef6febb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tools/build_distrib.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,15 +593,18 @@ def check_cpp_extension_dependencies_issue359(setup_dir, all_pythons):
for python in all_pythons:
if python["version2"] in ((3, 5), (3, 6), (3, 7)):
checked_any = True
if not os.path.exists(os.path.join(setup_dir, "msvcp140.dll")):
if not os.path.exists(os.path.join(setup_dir, "cefpython3",
"msvcp140.dll")):
raise Exception("C++ ext dependency missing: msvcp140.dll")
elif python["version2"] == (3, 4):
checked_any = True
if not os.path.exists(os.path.join(setup_dir, "msvcp100.dll")):
if not os.path.exists(os.path.join(setup_dir, "cefpython3",
"msvcp100.dll")):
raise Exception("C++ ext dependency missing: msvcp100.dll")
elif python["version2"] == (2, 7):
if not os.path.exists(os.path.join(setup_dir, "msvcp90.dll")):
raise Exception("C++ ext dependency missing: msvcp100.dll")
if not os.path.exists(os.path.join(setup_dir, "cefpython3",
"msvcp90.dll")):
raise Exception("C++ ext dependency missing: msvcp90.dll")
checked_any = True
assert checked_any

Expand Down

0 comments on commit ef6febb

Please sign in to comment.