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

Function main

tools/build.py:99–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97
98
99def main():
100 command_line_args()
101 print("[build.py] Python version: {ver} {arch}"
102 .format(ver=platform.python_version(), arch=ARCH_STR))
103 print("[build.py] Python executable: %s" % sys.executable)
104 print("[build.py] PYVERSION = %s" % PYVERSION)
105 print("[build.py] OS_POSTFIX2 = %s" % OS_POSTFIX2)
106 check_cython_version()
107 check_directories()
108 setup_environ()
109 if os.path.exists(CEFPYTHON_API_HFILE):
110 fix_cefpython_api_header_file()
111 if WINDOWS:
112 compile_cpp_projects_with_setuptools()
113 elif MAC or LINUX:
114 compile_cpp_projects_unix()
115 else:
116 print("[build.py] INFO: Looks like first run, as"
117 " cefpython_py{pyver}.h is missing. Skip building"
118 " C++ projects."
119 .format(pyver=PYVERSION))
120 global FIRST_RUN
121 FIRST_RUN = True
122 clear_cache()
123 copy_and_fix_pyx_files()
124 build_cefpython_module()
125 fix_cefpython_api_header_file()
126 install_and_run()
127
128
129def command_line_args():

Callers 1

build.pyFile · 0.70

Calls 11

check_cython_versionFunction · 0.85
check_directoriesFunction · 0.85
setup_environFunction · 0.85
clear_cacheFunction · 0.85
copy_and_fix_pyx_filesFunction · 0.85
build_cefpython_moduleFunction · 0.85
install_and_runFunction · 0.85
command_line_argsFunction · 0.70

Tested by

no test coverage detected