I have a python project and wish to include dependencies in a single directory named "deps" as follows:
+deps
---+dep1
---+dep2
+module1
+module2
An import statement would be something like this:
import deps.dep1
My intention is to have "deps" as a submodule in git. Is this the right way to go about it? I've chosen this course as automating deploy of python using virtualenvs is such a pain!
EDIT: If I choose to go this way, I need to add the "deps" directory to PYTHONPATH or use sys.path.append(). I am trying to figure out a solution without modifying all the import statements and without having to place an export PYTHONPATH statement in bash profile(which will again cause issues during deployment) Please help!