@jamescooke wanted to provide you with an updated copy of my makefile (for your use or others). ref
The modifications I've made allow one to compile requirements.txt files (specifically base.txt and test.txt in this case) so that they can be pip-installed from the project's root directory.
Like your structure, I have my req files in $PROJECT_ROOT/requirements/{*.in,*.txt}. However, these modifications are helpful so that I can:
@jamescooke@dfee I came across James' blog post which is pretty close to my desired workflow. The challenge I have at the moment is how to integrate it in a broader Makefile that also takes care of installing the (compiled via pip-compile) dependencies. I posted my question on StackOverflow, if you happen to have dealt with (or worked around) this issue it would be great to share it here and/or there.
@jamescooke wanted to provide you with an updated copy of my makefile (for your use or others). ref
The modifications I've made allow one to compile requirements.txt files (specifically
base.txt
andtest.txt
in this case) so that they can be pip-installed from the project's root directory.Like your structure, I have my req files in
$PROJECT_ROOT/requirements/{*.in,*.txt}
. However, these modifications are helpful so that I can:tox
to install my requirements for me.The text was updated successfully, but these errors were encountered: