bec/device_server/setup.py
semantic-release cbeff50dad 0.14.2
Automatically generated by python-semantic-release
2023-07-24 11:47:41 +00:00

25 lines
744 B
Python

import os
import pathlib
import subprocess
from setuptools import setup
current_path = pathlib.Path(__file__).parent.resolve()
utils = f"{current_path}/../bec_lib/"
ophyd_devices = os.getenv("OPHYD_DEVICES_PATH", f"{current_path}/../../ophyd_devices/")
__version__ = "0.14.2"
if __name__ == "__main__":
setup(
install_requires=["numpy", "ophyd", "msgpack", "pyyaml"],
entry_points={"console_scripts": ["bec-device-server = device_server:main"]},
extras_require={"dev": ["pytest", "pytest-random-order", "coverage", "black", "pylint"]},
version=__version__,
)
local_deps = [utils, ophyd_devices]
for dep in local_deps:
subprocess.run(f"pip install -e {dep}", shell=True, check=True)