2021-10-12 02:06:42 +02:00
|
|
|
from os import chdir
|
|
|
|
from pathlib import Path
|
2021-06-03 15:20:39 +02:00
|
|
|
|
2022-07-16 15:20:50 +02:00
|
|
|
from setuptools import find_packages, setup
|
2014-12-17 22:42:29 +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()
|
2021-10-12 02:06:42 +02:00
|
|
|
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",
|
2022-07-16 15:20:50 +02:00
|
|
|
packages=find_packages(),
|
2022-07-16 15:21:58 +02:00
|
|
|
package_data={"": ["**/*.liq", "*.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",
|
2022-07-16 15:20:50 +02:00
|
|
|
"libretime-liquidsoap=libretime_playout.liquidsoap.main:cli",
|
2022-01-17 10:51:32 +01:00
|
|
|
"libretime-playout-notify=libretime_playout.notify.main:cli",
|
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=[
|
2022-07-17 22:59:49 +02:00
|
|
|
"backports.zoneinfo>=0.2.1,<0.3;python_version<'3.9'",
|
2022-07-17 13:43:35 +02:00
|
|
|
"defusedxml>=0.6.0,<0.8",
|
2022-07-16 22:11:43 +02:00
|
|
|
"kombu==4.6.11",
|
2022-07-16 22:15:25 +02:00
|
|
|
"mutagen>=1.45.1,<1.46",
|
2022-07-16 22:16:48 +02:00
|
|
|
"requests>=2.25.1,<2.29",
|
2022-01-18 20:59:11 +01:00
|
|
|
"typing-extensions",
|
2021-05-27 16:23:02 +02:00
|
|
|
],
|
2022-01-13 16:11:37 +01:00
|
|
|
extras_require={
|
|
|
|
"dev": [
|
2022-07-16 23:22:55 +02:00
|
|
|
"distro",
|
2022-04-04 10:25:38 +02:00
|
|
|
f"libretime-api-client @ file://localhost{here.parent / 'api-client'}",
|
2022-01-22 16:48:32 +01:00
|
|
|
f"libretime-shared @ file://localhost{here.parent / 'shared'}",
|
2022-01-13 16:11:37 +01:00
|
|
|
],
|
|
|
|
},
|
2021-05-27 16:23:02 +02:00
|
|
|
zip_safe=False,
|
|
|
|
)
|