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",
|
2022-10-10 17:51:15 +02:00
|
|
|
version="3.0.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,
|
2021-09-10 13:47:20 +02:00
|
|
|
python_requires=">=3.6",
|
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=[
|
2022-06-28 12:48:08 +02:00
|
|
|
"django-filter>=2.4.0,<22.0",
|
|
|
|
"django>=3.2.12,<4.0",
|
2022-09-22 15:23:57 +02:00
|
|
|
"djangorestframework>=3.12.1,<3.15",
|
2022-09-14 15:17:14 +02:00
|
|
|
"drf-spectacular>=0.22.1,<0.25",
|
2022-06-28 12:48:08 +02:00
|
|
|
"requests>=2.25.1,<2.29",
|
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": [
|
2022-06-28 12:48:08 +02:00
|
|
|
"psycopg2>=2.8.6,<2.10",
|
2021-10-01 17:49:33 +02:00
|
|
|
],
|
2021-09-10 13:45:27 +02:00
|
|
|
"dev": [
|
2022-04-09 12:18:23 +02:00
|
|
|
"django-stubs",
|
|
|
|
"djangorestframework-stubs",
|
2022-03-01 13:11:15 +01:00
|
|
|
"model_bakery",
|
2021-09-10 13:45:27 +02:00
|
|
|
"psycopg2-binary",
|
2022-02-23 10:23:37 +01:00
|
|
|
"pylint-django",
|
2022-06-09 16:26:47 +02:00
|
|
|
"pytest-django",
|
2022-06-15 15:59:18 +02:00
|
|
|
"requests-mock",
|
2021-09-10 13:45:27 +02:00
|
|
|
],
|
|
|
|
},
|
2020-01-30 14:47:36 +01:00
|
|
|
)
|