What I have is development version of intranet site developed with Django and some external libraries placed in virtualenv. It runs fine and I can easily set up virtualenv with the same parameters (using pip) on any computer with internet connection. But, unfortunately it needs to be deployed on computer without :( Any way to deal with this? Thanks in advance.
You can create PIP bundle.
Update: pip bundle has been deprecated, and removed from PIP since version 1.5
With PIP 1.5 you should instead create local cache of the packages.
pip install --download <DIR> -r requirements.txt
pip install --no-index --find-links=<DIR> -r requirements.txt
Alternative is to use wheel
packages:
wheel
if you don't have it already pip install wheel
pip wheel --wheel-dir=<DIR> -r requirements.txt
pip install --use-wheel --no-index --find-links=<DIR> -r requirements.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With