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(
|
|
|
|
name="airtime-playout",
|
|
|
|
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=[
|
|
|
|
"pypo",
|
|
|
|
"liquidsoap",
|
|
|
|
],
|
2021-05-27 16:23:02 +02:00
|
|
|
package_data={"": ["**/*.liq", "*.cfg", "*.types"]},
|
2021-09-02 14:08:20 +02:00
|
|
|
scripts=[
|
|
|
|
"bin/airtime-playout",
|
|
|
|
"bin/airtime-liquidsoap",
|
|
|
|
"bin/pyponotify",
|
|
|
|
],
|
2021-09-10 13:47:20 +02:00
|
|
|
python_requires=">=3.6",
|
2021-05-27 16:23:02 +02:00
|
|
|
install_requires=[
|
2021-10-12 02:06:42 +02:00
|
|
|
f"api_clients @ file://localhost/{here.parent}/api_clients#egg=api_clients",
|
2021-05-27 16:23:02 +02:00
|
|
|
"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",
|
|
|
|
],
|
|
|
|
zip_safe=False,
|
|
|
|
)
|