-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
Currently, we specify dependencies in more than one place:
- pyproject.toml
- file in in requirements/
This redundancy leads to the obvious problems.
We can solve the problem by:
- Using optional features in pyproject.toml:
[project.optional-dependencies]
moments-popgen = ["moments-popgen>=1.2.0"]
These optional features can be for various tasks (development, CI, etc.)
- We than then do editable local installs for CI that tell
cmaketo do the right thing:
python -m pip install -Ccmake.define.BUILD_PYTHON_UNIT_TESTS=On -Ccmake.define.BUILD_CPP_UNIT_TESTS=On -e .
(Currently, the above doesn't work.
The C++ test suite ends up in the cmake build directory.
But we could output it somewhere sensible instead?)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels