2021-06-03 15:20:39 +02:00
|
|
|
from setuptools import find_packages, setup
|
2020-01-30 14:47:36 +01:00
|
|
|
|
2024-01-07 16:56:33 +01:00
|
|
|
version = "4.0.0" # x-release-please-version
|
2023-12-22 19:19:12 +01:00
|
|
|
|
2020-01-30 14:47:36 +01:00
|
|
|
setup(
|
2021-05-27 16:23:02 +02:00
|
|
|
name="libretime-api",
|
2023-12-22 19:19:12 +01:00
|
|
|
version=version,
|
2021-09-02 14:25:50 +02:00
|
|
|
description="LibreTime API",
|
|
|
|
author="LibreTime Contributors",
|
|
|
|
url="https://github.com/libretime/libretime",
|
|
|
|
project_urls={
|
|
|
|
"Bug Tracker": "https://github.com/libretime/libretime/issues",
|
|
|
|
"Documentation": "https://libretime.org",
|
|
|
|
"Source Code": "https://github.com/libretime/libretime",
|
|
|
|
},
|
|
|
|
license="AGPLv3",
|
2022-07-25 21:19:41 +02:00
|
|
|
packages=find_packages(exclude=["*tests*", "*fixtures*"]),
|
2022-05-28 16:27:57 +02:00
|
|
|
package_data={
|
|
|
|
"libretime_api": ["legacy/migrations/sql/*.sql"],
|
|
|
|
},
|
2020-01-30 14:47:36 +01:00
|
|
|
include_package_data=True,
|
2022-10-10 23:34:00 +02:00
|
|
|
python_requires=">=3.8",
|
2021-10-18 09:44:39 +02:00
|
|
|
entry_points={
|
|
|
|
"console_scripts": [
|
2022-04-04 14:38:50 +02:00
|
|
|
"libretime-api=libretime_api.manage:main",
|
2021-10-18 09:44:39 +02:00
|
|
|
]
|
|
|
|
},
|
2020-01-30 14:47:36 +01:00
|
|
|
install_requires=[
|
2023-10-14 00:06:00 +02:00
|
|
|
"django-cors-headers>=3.14.0,<4.4",
|
2024-04-06 18:48:14 +02:00
|
|
|
"django-filter>=2.4.0,<24.3",
|
2023-04-03 12:51:00 +02:00
|
|
|
"django>=4.2.0,<4.3",
|
2024-04-13 16:13:32 +02:00
|
|
|
"djangorestframework>=3.14.0,<3.16",
|
2023-12-18 19:12:09 +01:00
|
|
|
"drf-spectacular>=0.22.1,<0.28",
|
2023-05-24 18:23:55 +02:00
|
|
|
"requests>=2.31.0,<2.32",
|
2020-01-30 14:47:36 +01:00
|
|
|
],
|
2021-09-10 13:45:27 +02:00
|
|
|
extras_require={
|
2021-10-01 17:49:33 +02:00
|
|
|
"prod": [
|
2023-07-20 22:39:54 +02:00
|
|
|
"gunicorn>=20.1.0,<21.3",
|
2023-04-03 12:48:57 +02:00
|
|
|
"psycopg[c]>=3.1.8,<3.2",
|
2024-04-06 18:48:02 +02:00
|
|
|
"uvicorn[standard]>=0.17.6,<0.30.0",
|
2021-10-01 17:49:33 +02:00
|
|
|
],
|
2021-09-10 13:45:27 +02:00
|
|
|
"dev": [
|
2023-10-16 10:40:46 +02:00
|
|
|
"django-coverage-plugin>=3.0.0,<4",
|
|
|
|
"django-stubs>=1.14.0,<5",
|
|
|
|
"djangorestframework-stubs>=1.8.0,<4",
|
|
|
|
"model_bakery>=1.10.1,<2",
|
|
|
|
"psycopg[binary]>=3.1.8,<4",
|
|
|
|
"pylint-django>=2.5.3,<3",
|
|
|
|
"pytest-django>=4.5.2,<5",
|
|
|
|
"requests-mock>=1.10.0,<2",
|
2021-09-10 13:45:27 +02:00
|
|
|
],
|
2023-02-26 23:24:29 +01:00
|
|
|
"sentry": [
|
2023-10-16 10:40:46 +02:00
|
|
|
"sentry-sdk[django]>=1.15.0,<2",
|
2023-02-26 23:24:29 +01:00
|
|
|
],
|
2021-09-10 13:45:27 +02:00
|
|
|
},
|
2020-01-30 14:47:36 +01:00
|
|
|
)
|