Compare commits

..

No commits in common. "7c88c98839b62e9590ac97652d9025b167d025d7" and "239a782a8f20f0619a86d6499b502252c2f90692" have entirely different histories.

2 changed files with 1 additions and 17 deletions

View File

@ -1 +1 @@
__version__ = '0.1.33' __version__ = '0.1.32'

View File

@ -3,7 +3,6 @@
# MANUAL CHANGES CAN AND WILL BE OVERWRITTEN! # MANUAL CHANGES CAN AND WILL BE OVERWRITTEN!
import re import re
from pathlib import Path
from setuptools import setup from setuptools import setup
@ -62,20 +61,6 @@ def parse_version_file(text: str) -> str:
return match.group(2) return match.group(2)
def find_python_packages() -> list[str]:
"""
Find all python packages. (Directories containing __init__.py files.)
"""
root_path = Path(PACKAGE_NAME)
packages: set[str] = set([PACKAGE_NAME])
# Search recursively
for init_file in root_path.rglob('__init__.py'):
packages.add(str(init_file.parent).replace('/', '.'))
print(f'Found following packages: {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())
@ -98,7 +83,6 @@ setup(
author='Jon Michael Aanes', author='Jon Michael Aanes',
author_email='jonjmaa@gmail.com', author_email='jonjmaa@gmail.com',
url='https://gitfub.space/Jmaa/' + PACKAGE_NAME, url='https://gitfub.space/Jmaa/' + PACKAGE_NAME,
packages=find_python_packages(),
install_requires=REQUIREMENTS_MAIN, install_requires=REQUIREMENTS_MAIN,
extras_require={ extras_require={
'test': REQUIREMENTS_TEST, 'test': REQUIREMENTS_TEST,