diff --git a/bec_client/setup.cfg b/bec_client/setup.cfg new file mode 100644 index 00000000..25835966 --- /dev/null +++ b/bec_client/setup.cfg @@ -0,0 +1,22 @@ +[metadata] +name = bec_client +version = 0.0.1 +description = BEC Client +long_description = file: README.md +long_description_content_type = text/markdown +url = https://github.com/pypa/sampleproject +project_urls = + Bug Tracker = https://github.com/pypa/sampleproject/issues +classifiers = + Programming Language :: Python :: 3 + License :: OSI Approved :: MIT License + Operating System :: OS Independent + +[options] +package_dir = + = . +packages = find: +python_requires = >=3.7 + +[options.packages.find] +where = . \ No newline at end of file diff --git a/bec_client/setup.py b/bec_client/setup.py new file mode 100644 index 00000000..0e407f42 --- /dev/null +++ b/bec_client/setup.py @@ -0,0 +1,14 @@ +import pathlib +import subprocess + +from setuptools import setup + +current_path = pathlib.Path(__file__).parent.resolve() + +utils = f"{current_path}/../bec_utils/" + +if __name__ == "__main__": + setup(install_requires=["numpy", "msgpack", "requests", "typeguard", "pyyaml", "redis"]) + local_deps = [utils] + for dep in local_deps: + subprocess.run(f"pip install -e {dep}", shell=True, check=True) diff --git a/bec_utils/setup.py b/bec_utils/setup.py index 7f1a1763..fe01387b 100644 --- a/bec_utils/setup.py +++ b/bec_utils/setup.py @@ -1,4 +1,4 @@ from setuptools import setup if __name__ == "__main__": - setup() + setup(install_requires=["msgpack", "requests", "typeguard", "pyyaml", "redis"]) diff --git a/koss/setup.py b/koss/setup.py index 7f1a1763..e14eb6dd 100644 --- a/koss/setup.py +++ b/koss/setup.py @@ -1,4 +1,19 @@ +import pathlib +import subprocess + from setuptools import setup +current_path = pathlib.Path(__file__).parent.resolve() + +utils = f"{current_path}/../bec_utils/" + if __name__ == "__main__": - setup() + setup( + install_requires=[ + "numpy", + "cytoolz", + ] + ) + local_deps = [utils] + for dep in local_deps: + subprocess.run(f"pip install -e {dep}", shell=True, check=True) diff --git a/opaas/setup.cfg b/opaas/setup.cfg new file mode 100644 index 00000000..73d9ac05 --- /dev/null +++ b/opaas/setup.cfg @@ -0,0 +1,22 @@ +[metadata] +name = opaas +version = 0.0.1 +description = OPAAS service within the bec framework +long_description = file: README.md +long_description_content_type = text/markdown +url = https://github.com/pypa/sampleproject +project_urls = + Bug Tracker = https://github.com/pypa/sampleproject/issues +classifiers = + Programming Language :: Python :: 3 + License :: OSI Approved :: MIT License + Operating System :: OS Independent + +[options] +package_dir = + = ./ +packages = find: +python_requires = >=3.7 + +[options.packages.find] +where = ./ \ No newline at end of file diff --git a/opaas/setup.py b/opaas/setup.py new file mode 100644 index 00000000..f8494fb3 --- /dev/null +++ b/opaas/setup.py @@ -0,0 +1,17 @@ +import pathlib +import subprocess + +from setuptools import setup + +current_path = pathlib.Path(__file__).parent.resolve() + +utils = f"{current_path}/../bec_utils/" + +ophyd_devices = 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) diff --git a/scan_bundler/setup.cfg b/scan_bundler/setup.cfg new file mode 100644 index 00000000..18effa64 --- /dev/null +++ b/scan_bundler/setup.cfg @@ -0,0 +1,22 @@ +[metadata] +name = scan_bundler +version = 0.0.1 +description = scan_bundler service within the bec framework +long_description = file: README.md +long_description_content_type = text/markdown +url = https://github.com/pypa/sampleproject +project_urls = + Bug Tracker = https://github.com/pypa/sampleproject/issues +classifiers = + Programming Language :: Python :: 3 + License :: OSI Approved :: MIT License + Operating System :: OS Independent + +[options] +package_dir = + = ./ +packages = find: +python_requires = >=3.7 + +[options.packages.find] +where = ./ \ No newline at end of file diff --git a/scan_bundler/setup.py b/scan_bundler/setup.py new file mode 100644 index 00000000..4e85bcab --- /dev/null +++ b/scan_bundler/setup.py @@ -0,0 +1,18 @@ +import pathlib +import subprocess + +from setuptools import setup + +current_path = pathlib.Path(__file__).parent.resolve() + +utils = f"{current_path}/../bec_utils/" + +if __name__ == "__main__": + setup( + install_requires=[ + "numpy", + ] + ) + local_deps = [utils] + for dep in local_deps: + subprocess.run(f"pip install -e {dep}", shell=True, check=True)