chore: improve setuptools find_packages (#1985)

This commit is contained in:
Jonas L 2022-07-25 21:19:41 +02:00 committed by GitHub
parent b5267068e4
commit 77f5c9951e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 12 deletions

View file

@ -1,7 +1,7 @@
from os import chdir
from pathlib import Path
from setuptools import setup
from setuptools import find_packages, setup
# Change directory since setuptools uses relative paths
here = Path(__file__).parent.resolve()
@ -14,7 +14,7 @@ setup(
url="http://github.com/libretime/libretime",
author="LibreTime Contributors",
license="AGPLv3",
packages=["libretime_shared"],
packages=find_packages(exclude=["*tests*", "*fixtures*"]),
package_data={"": ["py.typed"]},
install_requires=[
"click~=8.0.4",