Alternative phrasing: What is the proper way to install path dependencies for production?
I have a project that depends upon local libraries, which are installed as path dependencies in edit mode:
mylib = {path="../../libs/mylib", develop=true}
This is what I want during development so that library changes are immediately reflected in the project. Now I’m stuck trying to figure out how to containerize my application for production. Ideally, I’d like to be able to issue some type of flag or environment variable that forces develop
mode off for all path dependencies, so that they get installed into the project’s virtual environment. Barring that, I am stuck using the --no-directory
flag during install, then manually copying over all libraries, which is not ideal.