1
0

Compare commits

..

No commits in common. "29ad4f445d45da2d1f2318b24584b05477ffb5cf" and "30b240f79b5ce7a7657e9f06a55f5cdf1a8e4864" have entirely different histories.

2 changed files with 5 additions and 4 deletions

View File

@ -1 +1 @@
__version__ = '0.1.15'
__version__ = '0.1.14'

View File

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