Compare commits
No commits in common. "829fef4eb94d3ec1dcd0735466ed583bbea9a892" and "d11f70cab8cabfb5faf563de5a0169a7e114e34b" have entirely different histories.
829fef4eb9
...
d11f70cab8
|
@ -1 +1 @@
|
|||
__version__ = '0.1.57'
|
||||
__version__ = '0.1.56'
|
||||
|
|
7
setup.py
7
setup.py
|
@ -110,9 +110,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'):
|
||||
|
@ -120,7 +122,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