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 setup
|
2015-01-28 00:43:36 +01:00
|
|
|
|
2021-09-02 14:08:20 +02:00
|
|
|
# Change directory since setuptools uses relative paths
|
2022-01-22 18:09:40 +01:00
|
|
|
here = Path(__file__).parent.resolve()
|
|
|
|
chdir(here)
|
2015-01-28 00:43:36 +01:00
|
|
|
|
2021-05-27 16:23:02 +02:00
|
|
|
setup(
|
2021-10-03 14:57:45 +02:00
|
|
|
name="libretime-api-client",
|
2021-05-27 16:23:02 +02:00
|
|
|
version="2.0.0",
|
|
|
|
description="LibreTime API Client",
|
|
|
|
author="LibreTime Contributors",
|
2021-09-02 14:25:50 +02:00
|
|
|
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",
|
|
|
|
},
|
2021-05-27 16:23:02 +02:00
|
|
|
license="AGPLv3",
|
2021-12-24 00:21:18 +01:00
|
|
|
packages=["libretime_api_client"],
|
2021-09-10 13:47:20 +02:00
|
|
|
python_requires=">=3.6",
|
2021-05-27 16:23:02 +02:00
|
|
|
install_requires=[
|
2021-06-22 17:14:24 +02:00
|
|
|
"python-dateutil>=2.7.0",
|
2022-07-16 22:16:48 +02:00
|
|
|
"requests>=2.25.1,<2.29",
|
2021-05-27 16:23:02 +02:00
|
|
|
],
|
2022-02-22 18:19:16 +01:00
|
|
|
extras_require={
|
|
|
|
"dev": [
|
|
|
|
f"libretime-shared @ file://localhost{here.parent / 'shared'}",
|
|
|
|
],
|
|
|
|
},
|
2021-05-27 16:23:02 +02:00
|
|
|
zip_safe=False,
|
|
|
|
)
|