When a package is installed (by using python setup.py install), the dependencies are fetched from The Python Package index (pypi.python.org). But my target host doesn't have access to internet. I have put dependencies under a local directory as shown below.
/foo-package
-dependencies/
-requests/
-lxml/
Is there anyway to install all these packages under dependencies directory by running python setup.py install
?