2022-01-22 18:09:40 +01:00
|
|
|
from os import chdir
|
|
|
|
from pathlib import Path
|
2021-06-03 15:20:39 +02:00
|
|
|
|
|
|
|
from setuptools import find_packages, setup
|
2020-01-30 14:47:36 +01:00
|
|
|
|
2021-09-02 14:25:50 +02:00
|
|
|
# Change directory since setuptools uses relative paths
|
2022-01-22 18:09:40 +01:00
|
|
|
here = Path(__file__).parent.resolve()
|
|
|
|
chdir(here)
|
|
|
|
|
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",
|
2020-01-30 14:47:36 +01:00
|
|
|
packages=find_packages(),
|
|
|
|
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": [
|
2021-12-24 00:04:30 +01:00
|
|
|
"libretime-api=libretime_api.cli:main",
|
2021-10-18 09:44:39 +02:00
|
|
|
]
|
|
|
|
},
|
2020-01-30 14:47:36 +01:00
|
|
|
install_requires=[
|
2021-05-27 16:23:02 +02:00
|
|
|
"coreapi",
|
2021-09-10 13:45:27 +02:00
|
|
|
"django~=3.0",
|
2021-05-27 16:23:02 +02:00
|
|
|
"djangorestframework",
|
2021-10-16 20:34:03 +02:00
|
|
|
"django-filter",
|
|
|
|
"drf-spectacular",
|
2021-05-27 16:23:02 +02:00
|
|
|
"markdown",
|
|
|
|
"model_bakery",
|
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": [
|
|
|
|
"psycopg2",
|
|
|
|
],
|
2021-09-10 13:45:27 +02:00
|
|
|
"dev": [
|
|
|
|
"psycopg2-binary",
|
|
|
|
],
|
|
|
|
},
|
2020-01-30 14:47:36 +01:00
|
|
|
)
|