mirror of
https://github.com/ivan-usov-org/bec.git
synced 2025-04-21 18:20:01 +02:00
18 lines
484 B
Python
18 lines
484 B
Python
import os
|
|
import pathlib
|
|
import subprocess
|
|
|
|
from setuptools import setup
|
|
|
|
current_path = pathlib.Path(__file__).parent.resolve()
|
|
|
|
utils = f"{current_path}/../bec_utils/"
|
|
|
|
ophyd_devices = os.getenv("OPHYD_DEVICES_PATH", f"{current_path}/../../ophyd_devices/")
|
|
|
|
if __name__ == "__main__":
|
|
setup(install_requires=["numpy", "cytoolz", "ophyd"])
|
|
local_deps = [utils, ophyd_devices]
|
|
for dep in local_deps:
|
|
subprocess.run(f"pip install -e {dep}", shell=True, check=True)
|