Get all cefpython Cython modules in the cefpython3 package. It returns a list of names without file extension. Eg. 'cefpython_py27'.
()
| 66 | |
| 67 | |
| 68 | def 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 | |
| 83 | def get_excluded_cefpython_modules(): |
no outgoing calls
no test coverage detected