MCPcopy Create free account
hub / github.com/cztomczak/cefpython / compile_cpp_projects_with_setuptools

Function compile_cpp_projects_with_setuptools

tools/build.py:403–412  ·  view source on GitHub ↗

Use setuptools to build static libraries / executable.

()

Source from the content-addressed store, hash-verified

401
402
403def compile_cpp_projects_with_setuptools():
404 """Use setuptools to build static libraries / executable."""
405 compile_cpp_projects = os.path.join(TOOLS_DIR, "build_cpp_projects.py")
406 retcode = subprocess.call([sys.executable, compile_cpp_projects])
407 if retcode != 0:
408 print("[build.py] ERROR: Failed to compile C++ projects")
409 sys.exit(1)
410 # Copy subprocess executable
411 print("[build.py] Copy subprocess executable")
412 shutil.copy(SUBPROCESS_EXE, CEFPYTHON_BINARY)
413
414
415def compile_cpp_projects_windows_DEPRECATED():

Callers 1

mainFunction · 0.85

Calls 1

copyMethod · 0.80

Tested by

no test coverage detected