2021-10-12 02:06:42 +02:00
|
|
|
from os import chdir
|
|
|
|
from pathlib import Path
|
2021-06-03 15:20:39 +02:00
|
|
|
|
|
|
|
from setuptools import setup
|
2014-12-17 22:42:29 +01:00
|
|
|
|
2021-09-02 14:08:20 +02:00
|
|
|
# Change directory since setuptools uses relative paths
|
2021-10-12 02:06:42 +02:00
|
|
|
here = Path(__file__).parent
|
|
|
|
chdir(here)
|
2020-01-16 15:32:51 +01:00
|
|
|
|
2021-05-27 16:23:02 +02:00
|
|
|
setup(
|
2021-10-03 14:57:45 +02:00
|
|
|
name="libretime-playout",
|
2021-05-27 16:23:02 +02:00
|
|
|
version="1.0",
|
2021-09-02 14:25:50 +02:00
|
|
|
description="LibreTime Playout",
|
|
|
|
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",
|
|
|
|
},
|
2021-05-27 16:23:02 +02:00
|
|
|
license="AGPLv3",
|
2021-09-02 14:08:20 +02:00
|
|
|
packages=[
|
2021-12-24 00:34:32 +01:00
|
|
|
"libretime_playout",
|
|
|
|
"libretime_playout.notify",
|
2021-12-24 00:30:40 +01:00
|
|
|
"libretime_liquidsoap",
|
2021-09-02 14:08:20 +02:00
|
|
|
],
|
2021-05-27 16:23:02 +02:00
|
|
|
package_data={"": ["**/*.liq", "*.cfg", "*.types"]},
|
2021-10-18 09:44:39 +02:00
|
|
|
entry_points={
|
|
|
|
"console_scripts": [
|
2022-01-13 16:11:37 +01:00
|
|
|
"libretime-playout=libretime_playout.main:cli",
|
|
|
|
"libretime-liquidsoap=libretime_liquidsoap.main:cli",
|
2021-12-24 00:34:32 +01:00
|
|
|
"libretime-playout-notify=libretime_playout.notify.main:run",
|
2021-10-18 09:44:39 +02:00
|
|
|
]
|
|
|
|
},
|
2021-09-10 13:47:20 +02:00
|
|
|
python_requires=">=3.6",
|
2021-05-27 16:23:02 +02:00
|
|
|
install_requires=[
|
|
|
|
"amqplib",
|
|
|
|
"configobj",
|
2021-09-07 11:08:58 +02:00
|
|
|
"defusedxml",
|
2021-05-27 16:23:02 +02:00
|
|
|
"kombu",
|
|
|
|
"mutagen",
|
2021-09-07 11:08:58 +02:00
|
|
|
"packaging",
|
2021-05-27 16:23:02 +02:00
|
|
|
"pytz",
|
|
|
|
"requests",
|
|
|
|
],
|
2022-01-13 16:11:37 +01:00
|
|
|
extras_require={
|
|
|
|
"dev": [
|
|
|
|
f"libretime-shared @ file://localhost/{here.parent / 'shared'}#egg=libretime_shared",
|
|
|
|
f"libretime-api-client @ file://localhost/{here.parent / 'api_client'}#egg=libretime_api_client",
|
|
|
|
],
|
|
|
|
},
|
2021-05-27 16:23:02 +02:00
|
|
|
zip_safe=False,
|
|
|
|
)
|