Compare commits
No commits in common. "10ffc7f5e6c84a2fe2e41da5145645ad7c9a958b" and "ff71f693557e54eb9ab15eb2619691a0a953397c" have entirely different histories.
10ffc7f5e6
...
ff71f69355
|
@ -1 +1 @@
|
|||
__version__ = '0.1.35'
|
||||
__version__ = '0.1.34'
|
||||
|
|
7
setup.py
7
setup.py
|
@ -29,9 +29,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'):
|
||||
|
@ -39,7 +41,6 @@ def find_python_packages() -> list[str]:
|
|||
|
||||
return sorted(packages)
|
||||
|
||||
|
||||
with open(PACKAGE_NAME + '/_version.py') as f:
|
||||
version = parse_version_file(f.read())
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user