Skip to content

Commit

Permalink
Move odin dependencies to separate requirements file
Browse files Browse the repository at this point in the history
PyPI will not publish with direct URL dependencies. These aren't
needed for the actual application.
  • Loading branch information
GDYendell committed May 16, 2024
1 parent ea84211 commit 9f712cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 2 additions & 0 deletions dev/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9f712cd

Please sign in to comment.