I have a python project that has a few dependencies (defined under install_requires
in setup.py). My ops people requires a package to be self contained and only
In most cases you should be able to "vendor" all the dependencies. It's basically a crude version of virtualenv.
For example look at how the requests
package includes chardet and urllib3 in its own source tree. Here's an example script that should do the initial downloading and copying for you: https://gist.github.com/proppy/1136723
Once you have the dependencies installed, you can reference them with from .some.namespace import dependency_name
to make sure that you're using your local versions.