2021-06-03 15:20:39 +02:00
|
|
|
from setuptools import find_packages, setup
|
2020-01-30 14:47:36 +01:00
|
|
|
|
|
|
|
setup(
|
2021-05-27 16:23:02 +02:00
|
|
|
name="libretime-api",
|
2023-05-26 14:53:57 +02:00
|
|
|
version="3.1.0",
|
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-07-12 08:54:05 +02:00
|
|
|
"django-cors-headers>=3.14.0,<4.3",
|
2023-04-30 14:53:34 +02:00
|
|
|
"django-filter>=2.4.0,<23.3",
|
2023-04-03 12:51:00 +02:00
|
|
|
"django>=4.2.0,<4.3",
|
2023-05-25 16:20:50 +02:00
|
|
|
"djangorestframework>=3.14.0,<3.15",
|
2023-03-14 11:19:49 +01:00
|
|
|
"drf-spectacular>=0.22.1,<0.27",
|
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-05-10 14:51:23 +02:00
|
|
|
"gunicorn>=20.1.0,<20.2",
|
2023-04-03 12:48:57 +02:00
|
|
|
"psycopg[c]>=3.1.8,<3.2",
|
2023-05-10 14:51:23 +02:00
|
|
|
"uvicorn[standard]>=0.17.6,<0.23.0",
|
2021-10-01 17:49:33 +02:00
|
|
|
],
|
2021-09-10 13:45:27 +02:00
|
|
|
"dev": [
|
2023-07-12 08:53:52 +02:00
|
|
|
"django-coverage-plugin>=3.0.0,<3.2",
|
2023-04-28 12:29:22 +02:00
|
|
|
"django-stubs>=1.14.0,<4.3",
|
2023-04-28 12:47:06 +02:00
|
|
|
"djangorestframework-stubs>=1.8.0,<3.15",
|
2023-06-07 22:53:27 +02:00
|
|
|
"model_bakery>=1.10.1,<1.13",
|
2023-04-03 12:48:57 +02:00
|
|
|
"psycopg[binary]>=3.1.8,<3.2",
|
2023-02-02 19:14:15 +01:00
|
|
|
"pylint-django>=2.5.3,<2.6",
|
|
|
|
"pytest-django>=4.5.2,<4.6",
|
2023-06-12 09:38:04 +02:00
|
|
|
"requests-mock>=1.10.0,<1.12",
|
2021-09-10 13:45:27 +02:00
|
|
|
],
|
2023-02-26 23:24:29 +01:00
|
|
|
"sentry": [
|
2023-07-12 08:53:29 +02:00
|
|
|
"sentry-sdk[django]>=1.15.0,<1.29",
|
2023-02-26 23:24:29 +01:00
|
|
|
],
|
2021-09-10 13:45:27 +02:00
|
|
|
},
|
2020-01-30 14:47:36 +01:00
|
|
|
)
|