libretime/api/setup.py

55 lines
1.6 KiB
Python
Raw Normal View History

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",
packages=find_packages(exclude=["*tests*", "*fixtures*"]),
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",
entry_points={
"console_scripts": [
"libretime-api=libretime_api.manage:main",
]
},
2020-01-30 14:47:36 +01:00
install_requires=[
"django-cors-headers>=3.14.0,<4.3",
"django-filter>=2.4.0,<23.3",
2023-04-03 12:51:00 +02:00
"django>=4.2.0,<4.3",
"djangorestframework>=3.14.0,<3.15",
"drf-spectacular>=0.22.1,<0.27",
"requests>=2.31.0,<2.32",
2020-01-30 14:47:36 +01:00
],
extras_require={
2021-10-01 17:49:33 +02:00
"prod": [
"gunicorn>=20.1.0,<20.2",
2023-04-03 12:48:57 +02:00
"psycopg[c]>=3.1.8,<3.2",
"uvicorn[standard]>=0.17.6,<0.23.0",
2021-10-01 17:49:33 +02:00
],
"dev": [
"django-coverage-plugin>=3.0.0,<3.2",
"django-stubs>=1.14.0,<4.3",
"djangorestframework-stubs>=1.8.0,<3.15",
"model_bakery>=1.10.1,<1.13",
2023-04-03 12:48:57 +02:00
"psycopg[binary]>=3.1.8,<3.2",
"pylint-django>=2.5.3,<2.6",
"pytest-django>=4.5.2,<4.6",
"requests-mock>=1.10.0,<1.12",
],
2023-02-26 23:24:29 +01:00
"sentry": [
"sentry-sdk[django]>=1.15.0,<1.29",
2023-02-26 23:24:29 +01:00
],
},
2020-01-30 14:47:36 +01:00
)