Build global SDist and wheel.
()
| 158 | |
| 159 | @contextlib.contextmanager |
| 160 | def build_global() -> Generator[None, None, None]: |
| 161 | """ |
| 162 | Build global SDist and wheel. |
| 163 | """ |
| 164 | |
| 165 | pyproject = MAIN_DIR / "pyproject.toml" |
| 166 | with preserve_file(pyproject): |
| 167 | newer_txt = get_global() |
| 168 | pyproject.write_text(newer_txt, encoding="utf-8") |
| 169 | yield |
| 170 | |
| 171 | |
| 172 | def read_tz_file(tar: tarfile.TarFile, name: str) -> bytes: |
no test coverage detected