hello, questions about best practices. Say you hav...
# questions
o
hello, questions about best practices. Say you have two pipeline pipe1 & pipe2 that you want to micropackage. Following documentation, we should have a
requirements.txt
in the pipeline folders for each pipeline, however should we also copy those requirements in the global
requirements.txt
in the
src/project_name
folder? The issue here is that having pipeline specific dependencies duplication requires maintenance so I would like to keep the dependencies in their specific folders and have a single command to install all project & pipeline dependencies.
n
@Olivier Ho You can do
pip install -r requirements1.txt -r requirements2.txt
to combine multiple requirements. You can also make an alias for this in something like a a
MAKEFILE
then you do
make install
to install from the project.