Compare commits

..

No commits in common. "14b236c1f8d451307f43582c0a048480aa484d2b" and "6ae6cf31f27f869e1abf3778952387441b035465" have entirely different histories.

2 changed files with 5 additions and 4 deletions

View File

@ -1 +1 @@
__version__ = '0.1.12'
__version__ = '0.1.11'

View File

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