Use subprocess executable built by Python 3.4 to have the least amount of false-positives by AVs. Windows-only issue.
(arch)
| 547 | |
| 548 | |
| 549 | def restore_subprocess_executable_issue342(arch): |
| 550 | """Use subprocess executable built by Python 3.4 to have the least amount of |
| 551 | false-positives by AVs. Windows-only issue.""" |
| 552 | if not WINDOWS: |
| 553 | return |
| 554 | print("[build_distrib.py] Restore subprocess executable built" |
| 555 | " with Python 3.4 (Issue #342)") |
| 556 | cefpython_binary_basename = get_cefpython_binary_basename( |
| 557 | get_os_postfix2_for_arch(arch)) |
| 558 | cefpython_binary = os.path.join(BUILD_DIR, cefpython_binary_basename) |
| 559 | assert os.path.isdir(cefpython_binary) |
| 560 | src = os.path.join(BUILD_CEFPYTHON, |
| 561 | "subprocess_py34_{arch}_issue342.exe" |
| 562 | .format(arch=arch)) |
| 563 | assert os.path.isfile(src) |
| 564 | dst = os.path.join(cefpython_binary, "subprocess.exe") |
| 565 | shutil.copy(src, dst) |
| 566 | |
| 567 | |
| 568 | def make_packages(python, arch, all_pythons): |
no test coverage detected