libretime/api/setup.py

48 lines
1.3 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",
version="2.0.0a1",
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,
python_requires=">=3.6",
entry_points={
"console_scripts": [
"libretime-api=libretime_api.manage:main",
]
},
2020-01-30 14:47:36 +01:00
install_requires=[
"django-filter>=2.4.0,<22.0",
"django>=3.2.12,<4.0",
"djangorestframework>=3.12.1,<3.14",
"drf-spectacular>=0.22.1,<0.23",
"requests>=2.25.1,<2.29",
2020-01-30 14:47:36 +01:00
],
extras_require={
2021-10-01 17:49:33 +02:00
"prod": [
"psycopg2>=2.8.6,<2.10",
2021-10-01 17:49:33 +02:00
],
"dev": [
"django-stubs",
"djangorestframework-stubs",
"model_bakery",
"psycopg2-binary",
2022-02-23 10:23:37 +01:00
"pylint-django",
"pytest-django",
"requests-mock",
],
},
2020-01-30 14:47:36 +01:00
)