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

Function get_cefpython_modules

examples/pyinstaller/hook-cefpython3.py:68–80  ·  view source on GitHub ↗

Get all cefpython Cython modules in the cefpython3 package. It returns a list of names without file extension. Eg. 'cefpython_py27'.

()

Source from the content-addressed store, hash-verified

66
67
68def get_cefpython_modules():
69 """Get all cefpython Cython modules in the cefpython3 package.
70 It returns a list of names without file extension. Eg.
71 'cefpython_py27'. """
72 pyds = glob.glob(os.path.join(CEFPYTHON3_DIR,
73 "cefpython_py*" + CYTHON_MODULE_EXT))
74 assert len(pyds) > 1, "Missing cefpython3 Cython modules"
75 modules = []
76 for path in pyds:
77 filename = os.path.basename(path)
78 mod = filename.replace(CYTHON_MODULE_EXT, "")
79 modules.append(mod)
80 return modules
81
82
83def get_excluded_cefpython_modules():

Callers 2

get_cefpython3_datasFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected