(ns)
| 84 | |
| 85 | |
| 86 | def get_lib_layout(ns): |
| 87 | def _c(f): |
| 88 | if f in EXCLUDE_FROM_LIB: |
| 89 | return False |
| 90 | if f.is_dir(): |
| 91 | if f in TEST_DIRS_ONLY: |
| 92 | return ns.include_tests |
| 93 | if f in TCLTK_DIRS_ONLY: |
| 94 | return ns.include_tcltk |
| 95 | if f in IDLE_DIRS_ONLY: |
| 96 | return ns.include_idle |
| 97 | if f in VENV_DIRS_ONLY: |
| 98 | return ns.include_venv |
| 99 | else: |
| 100 | if f in TCLTK_FILES_ONLY: |
| 101 | return ns.include_tcltk |
| 102 | return True |
| 103 | |
| 104 | for dest, src in rglob(ns.source / "Lib", "**/*", _c): |
| 105 | yield dest, src |
| 106 | |
| 107 | |
| 108 | def get_tcltk_lib(ns): |
no test coverage detected
searching dependent graphs…