Closed mdpiper closed 3 months ago
This PR adds a nox session, "sync-requirements", to generate requirements files from the project requirements and optional dependencies listed in the pyproject.toml file.
pyproject.toml
Running the "sync-requirements" session results in:
|-- requirements.txt |-- requirements-extra/ |-- requirements-build.txt |-- requirements-dev.txt |-- requirements-docs.txt |-- requirements-notebooks.txt `-- requirements-testing.txt
Note all the optional/extra dependencies are listed in a separate requirements-extra/ directory.
requirements-extra/
I also updated the conda environment file environment-dev.yml to use these requirement files, installing the dependencies through pip.
environment-dev.yml
pip
I'll update the conda env file in the docs/ directory in a subsequent PR.
docs/
This PR adds a nox session, "sync-requirements", to generate requirements files from the project requirements and optional dependencies listed in the
pyproject.toml
file.Running the "sync-requirements" session results in:
Note all the optional/extra dependencies are listed in a separate
requirements-extra/
directory.I also updated the conda environment file
environment-dev.yml
to use these requirement files, installing the dependencies throughpip
.