Closed
Description
Description
Add the ability to specify the search path for dependency files such as requirements.txt
, conda-packages.txt
or dependencies.sh
inside the cortex.yaml
configuration.
Motivation
We want to be able to use different cortex.yaml
configurations each with their own dependencies in the same code base. Our plan is to setup the active at the root of the repository and point to the predictor via the predictor.path
setting. However, this would require that we also copy all the dependencies files to the root.
Adding an additional config option inside cortex.yaml
to specify the search path relative to the cortex root similar to python_path
would work for us. The new option could be called dependency_path
.