1
0

Compare commits

..

No commits in common. "985626cb9a9626bf16b43c504d0dd18c80bde197" and "acaedcbd3ab3c312f9eb185d3c631adcc18475b3" have entirely different histories.

2 changed files with 4 additions and 5 deletions

View File

@ -1 +1 @@
__version__ = '0.1.75'
__version__ = '0.1.74'

View File

@ -66,11 +66,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'):
@ -78,6 +76,7 @@ def find_python_packages() -> list[str]:
return sorted(packages)
with open(PACKAGE_NAME + '/_version.py') as f:
version = parse_version_file(f.read())