Compare commits
No commits in common. "5f9278cff2906dd07b4bb965dc560ea706dc7c7b" and "c5f5b9ec4d0c9275f137952a86b7488c5cb04148" have entirely different histories.
5f9278cff2
...
c5f5b9ec4d
7
setup.py
7
setup.py
|
@ -31,9 +31,11 @@ def parse_version_file(text: str) -> str:
|
||||||
|
|
||||||
|
|
||||||
def find_python_packages() -> list[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)
|
root_path = Path(PACKAGE_NAME)
|
||||||
packages: set[str] = {PACKAGE_NAME}
|
packages: set[str] = set([PACKAGE_NAME])
|
||||||
|
|
||||||
# Search recursively
|
# Search recursively
|
||||||
for init_file in root_path.rglob('__init__.py'):
|
for init_file in root_path.rglob('__init__.py'):
|
||||||
|
@ -41,7 +43,6 @@ def find_python_packages() -> list[str]:
|
||||||
|
|
||||||
return sorted(packages)
|
return sorted(packages)
|
||||||
|
|
||||||
|
|
||||||
with open(PACKAGE_NAME + '/_version.py') as f:
|
with open(PACKAGE_NAME + '/_version.py') as f:
|
||||||
version = parse_version_file(f.read())
|
version = parse_version_file(f.read())
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
__version__ = '0.1.32'
|
__version__ = '0.1.31'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user