1
0

🤖 Repository layout updated to latest version

This commit was automatically generated by [a script](https://gitfub.space/Jmaa/repo-manager)
This commit is contained in:
Takunomi Automaticus, The 2nd 2025-07-07 01:00:16 +02:00
parent 985626cb9a
commit 95eea82eec

View File

@ -66,11 +66,9 @@ def parse_version_file(text: str) -> str:
def find_python_packages() -> list[str]: def find_python_packages() -> list[str]:
""" """Find all python packages (directories containing __init__.py files)."""
Find all python packages. (Directories containing __init__.py files.)
"""
root_path = Path(PACKAGE_NAME) root_path = Path(PACKAGE_NAME)
packages: set[str] = set([PACKAGE_NAME]) packages: set[str] = {PACKAGE_NAME}
# Search recursively # Search recursively
for init_file in root_path.rglob('__init__.py'): for init_file in root_path.rglob('__init__.py'):
@ -78,6 +76,7 @@ def find_python_packages() -> list[str]:
return sorted(packages) return sorted(packages)
with open(PACKAGE_NAME + '/_version.py') as f: with open(PACKAGE_NAME + '/_version.py') as f:
version = parse_version_file(f.read()) version = parse_version_file(f.read())