sintonia/worker/setup.py
jo 9b6d657fd6 feat(worker): load config using shared helpers
BREAKING CHANGE: The worker `RMQ_CONFIG_FILE` environement variable has
been renamed to `LIBRETIME_CONFIG_FILEPATH`. In addition the systemd
working directory for the worker has changed from `/srv/airtime` to
`/var/lib/libretime/worker`.
2022-02-25 11:48:57 +02:00

36 lines
947 B
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-celery",
version="0.1",
description="LibreTime Celery",
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="MIT",
packages=["libretime_worker"],
python_requires=">=3.6",
install_requires=[
"celery==4.4.7",
"kombu==4.6.10",
"mutagen>=1.31.0",
"requests>=2.7.0",
],
extras_require={
"dev": [
f"libretime-shared @ file://localhost{here.parent / 'shared'}",
],
},
zip_safe=False,
)