54 lines
1.5 KiB
Python
54 lines
1.5 KiB
Python
from os import chdir
|
|
from pathlib import Path
|
|
|
|
from setuptools import setup
|
|
|
|
# Change directory since setuptools uses relative paths
|
|
here = Path(__file__).parent.resolve()
|
|
chdir(here)
|
|
|
|
setup(
|
|
name="libretime-playout",
|
|
version="1.0",
|
|
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",
|
|
},
|
|
license="AGPLv3",
|
|
packages=[
|
|
"libretime_playout",
|
|
"libretime_playout.notify",
|
|
"libretime_liquidsoap",
|
|
],
|
|
package_data={"": ["**/*.liq", "*.cfg", "*.types"]},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"libretime-playout=libretime_playout.main:cli",
|
|
"libretime-liquidsoap=libretime_liquidsoap.main:cli",
|
|
"libretime-playout-notify=libretime_playout.notify.main:cli",
|
|
]
|
|
},
|
|
python_requires=">=3.6",
|
|
install_requires=[
|
|
"amqplib",
|
|
"defusedxml",
|
|
"kombu",
|
|
"mutagen",
|
|
"packaging",
|
|
"pytz",
|
|
"requests",
|
|
"typing-extensions",
|
|
],
|
|
extras_require={
|
|
"dev": [
|
|
f"libretime-api-client @ file://localhost{here.parent / 'api-client'}",
|
|
f"libretime-shared @ file://localhost{here.parent / 'shared'}",
|
|
],
|
|
},
|
|
zip_safe=False,
|
|
)
|