From 9f712cdd7202088e4d5bb7070adcff162cecb281 Mon Sep 17 00:00:00 2001 From: Gary Yendell Date: Thu, 16 May 2024 12:20:48 +0000 Subject: [PATCH] Move odin dependencies to separate requirements file PyPI will not publish with direct URL dependencies. These aren't needed for the actual application. --- README.md | 8 ++++---- dev/requirements.txt | 2 ++ pyproject.toml | 2 -- 3 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 dev/requirements.txt diff --git a/README.md b/README.md index fc59872..5822ba6 100644 --- a/README.md +++ b/README.md @@ -31,13 +31,13 @@ installed. This will populate the dev config with your environment - these chang should not be checked in. The dev deployment can then be run with `dev/start.sh`. Currently Odin FastCS depends on branches of both odin-control and odin-data, so these -branches are provided as dev dependencies for convenience. Make a Python>=3.11 venv -and then `pip install -e .[dev]` will give an environment that the control server and -meta writer can run in. For the frameProcessor and frameReceiver, check out the +branches are provided in `dev/requirements.txt` for convenience. Make a venv and then +`pip install -r dev/requirements.txt` will give an environment that the control server +and meta writer can run in. For the frameProcessor and frameReceiver, check out the fastcs-dev branch of odin-data and build. It is recommended to use the vscode CMake configuration to do this. -If you need to run a local version of any of the applications, stop that process in the +If you need to run a dev version of any of the applications, stop that process in the deployment and run/debug it manually. There is a vscode launch config for an odin server using the same config as the dev deployment for this purpose. diff --git a/dev/requirements.txt b/dev/requirements.txt new file mode 100644 index 0000000..c5f520b --- /dev/null +++ b/dev/requirements.txt @@ -0,0 +1,2 @@ +git+https://github.com/odin-detector/odin-control@param-tree-replace +git+https://github.com/odin-detector/odin-data@fastcs-dev#subdirectory=python diff --git a/pyproject.toml b/pyproject.toml index 76d6fdc..b3a19c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,8 +26,6 @@ authors = [ [project.optional-dependencies] dev = [ - "odin-control @ git+https://github.com/odin-detector/odin-control@param-tree-replace", - "odin-data @ git+https://github.com/odin-detector/odin-data@fastcs-dev#subdirectory=python", "copier", "mypy", "myst-parser",