chore: improve setuptools find_packages (#1985)
This commit is contained in:
parent
b5267068e4
commit
77f5c9951e
|
@ -1,7 +1,7 @@
|
||||||
from os import chdir
|
from os import chdir
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
# Change directory since setuptools uses relative paths
|
# Change directory since setuptools uses relative paths
|
||||||
here = Path(__file__).parent.resolve()
|
here = Path(__file__).parent.resolve()
|
||||||
|
@ -19,10 +19,7 @@ setup(
|
||||||
"Source Code": "https://github.com/libretime/libretime",
|
"Source Code": "https://github.com/libretime/libretime",
|
||||||
},
|
},
|
||||||
license="AGPLv3",
|
license="AGPLv3",
|
||||||
packages=[
|
packages=find_packages(exclude=["*tests*", "*fixtures*"]),
|
||||||
"libretime_analyzer",
|
|
||||||
"libretime_analyzer.pipeline",
|
|
||||||
],
|
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": [
|
"console_scripts": [
|
||||||
"libretime-analyzer=libretime_analyzer.main:cli",
|
"libretime-analyzer=libretime_analyzer.main:cli",
|
||||||
|
|
|
@ -19,7 +19,7 @@ setup(
|
||||||
"Source Code": "https://github.com/libretime/libretime",
|
"Source Code": "https://github.com/libretime/libretime",
|
||||||
},
|
},
|
||||||
license="AGPLv3",
|
license="AGPLv3",
|
||||||
packages=find_packages(),
|
packages=find_packages(exclude=["*tests*", "*fixtures*"]),
|
||||||
python_requires=">=3.6",
|
python_requires=">=3.6",
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"python-dateutil>=2.8.1,<2.9",
|
"python-dateutil>=2.8.1,<2.9",
|
||||||
|
|
|
@ -20,7 +20,7 @@ setup(
|
||||||
"Source Code": "https://github.com/libretime/libretime",
|
"Source Code": "https://github.com/libretime/libretime",
|
||||||
},
|
},
|
||||||
license="AGPLv3",
|
license="AGPLv3",
|
||||||
packages=find_packages(),
|
packages=find_packages(exclude=["*tests*", "*fixtures*"]),
|
||||||
package_data={
|
package_data={
|
||||||
"libretime_api": ["legacy/migrations/sql/*.sql"],
|
"libretime_api": ["legacy/migrations/sql/*.sql"],
|
||||||
},
|
},
|
||||||
|
|
|
@ -19,7 +19,7 @@ setup(
|
||||||
"Source Code": "https://github.com/libretime/libretime",
|
"Source Code": "https://github.com/libretime/libretime",
|
||||||
},
|
},
|
||||||
license="AGPLv3",
|
license="AGPLv3",
|
||||||
packages=find_packages(),
|
packages=find_packages(exclude=["*tests*", "*fixtures*"]),
|
||||||
package_data={"": ["**/*.liq", "*.types"]},
|
package_data={"": ["**/*.liq", "*.types"]},
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": [
|
"console_scripts": [
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
from os import chdir
|
from os import chdir
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
# Change directory since setuptools uses relative paths
|
# Change directory since setuptools uses relative paths
|
||||||
here = Path(__file__).parent.resolve()
|
here = Path(__file__).parent.resolve()
|
||||||
|
@ -14,7 +14,7 @@ setup(
|
||||||
url="http://github.com/libretime/libretime",
|
url="http://github.com/libretime/libretime",
|
||||||
author="LibreTime Contributors",
|
author="LibreTime Contributors",
|
||||||
license="AGPLv3",
|
license="AGPLv3",
|
||||||
packages=["libretime_shared"],
|
packages=find_packages(exclude=["*tests*", "*fixtures*"]),
|
||||||
package_data={"": ["py.typed"]},
|
package_data={"": ["py.typed"]},
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"click~=8.0.4",
|
"click~=8.0.4",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
from os import chdir
|
from os import chdir
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
# Change directory since setuptools uses relative paths
|
# Change directory since setuptools uses relative paths
|
||||||
here = Path(__file__).parent.resolve()
|
here = Path(__file__).parent.resolve()
|
||||||
|
@ -19,7 +19,7 @@ setup(
|
||||||
"Source Code": "https://github.com/libretime/libretime",
|
"Source Code": "https://github.com/libretime/libretime",
|
||||||
},
|
},
|
||||||
license="MIT",
|
license="MIT",
|
||||||
packages=["libretime_worker"],
|
packages=find_packages(exclude=["*tests*", "*fixtures*"]),
|
||||||
python_requires=">=3.6",
|
python_requires=">=3.6",
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"celery==4.4.7",
|
"celery==4.4.7",
|
||||||
|
|
Loading…
Reference in New Issue