Community standard - use pip package manager with requirements file .
eg.
SQLAlchemy>=0.9.8
This will force the installation of SQLAlchemy with a version higher than or equal to 0.9.8 .
If you want to distribute your code autonomously, you might consider creating a separate directory for third-party packages and expanding the PYTHONPATH environment variable.
export PYTHONPATH=$PYTHONPATH:/path/to/3rdpartypackages/
Łukasz Rogalski
source share