1
0

Compare commits

..

2 Commits

Author SHA1 Message Date
829fef4eb9 🤖 Bumped version to 0.1.57
Some checks failed
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 28s
Package Python / Package-Python-And-Publish (push) Successful in 25s
Python Ruff Code Quality / ruff (push) Failing after 22s
Run Python tests (through Pytest) / Test (push) Successful in 32s
This commit was automatically generated by [a script](https://gitfub.space/Jmaa/repo-manager)
2025-07-07 01:00:35 +02:00
26a5ca2760 🤖 Repository layout updated to latest version
This commit was automatically generated by [a script](https://gitfub.space/Jmaa/repo-manager)
2025-07-07 01:00:16 +02:00
2 changed files with 4 additions and 5 deletions

View File

@ -1 +1 @@
__version__ = '0.1.56'
__version__ = '0.1.57'

View File

@ -110,11 +110,9 @@ def parse_version_file(text: str) -> 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)
packages: set[str] = set([PACKAGE_NAME])
packages: set[str] = {PACKAGE_NAME}
# Search recursively
for init_file in root_path.rglob('__init__.py'):
@ -122,6 +120,7 @@ def find_python_packages() -> list[str]:
return sorted(packages)
with open(PACKAGE_NAME + '/_version.py') as f:
version = parse_version_file(f.read())