From 893f1724321fd9d4b25e6ddaac5749bdadecbabd Mon Sep 17 00:00:00 2001 From: jo Date: Tue, 12 Oct 2021 02:06:42 +0200 Subject: [PATCH] Add local api_client dependency to playout --- python_apps/pypo/setup.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python_apps/pypo/setup.py b/python_apps/pypo/setup.py index f428f44e4..6a41fb46e 100644 --- a/python_apps/pypo/setup.py +++ b/python_apps/pypo/setup.py @@ -1,9 +1,11 @@ -import os +from os import chdir +from pathlib import Path from setuptools import setup # Change directory since setuptools uses relative paths -os.chdir(os.path.dirname(os.path.realpath(__file__))) +here = Path(__file__).parent +chdir(here) setup( name="airtime-playout", @@ -29,6 +31,7 @@ setup( ], python_requires=">=3.6", install_requires=[ + f"api_clients @ file://localhost/{here.parent}/api_clients#egg=api_clients", "amqplib", "configobj", "defusedxml",