3 ms·
What's the recommended Python solution for deploying Python scripts/applications off-line? I am deploying several scripts on machines with no access to the inte
by skocznymroczny 8y ago
What's the recommended Python solution for deploying Python scripts/applications off-line? I am deploying several scripts on machines with no access to the internet, so I can't exactly pip install -r requirements.txt. My current solution is to cache all pip packages in a packages directory and then export PYTHONUSERBASE=$PWD/packages, but it feels like a hack. Virtualenvs are no solution because they aren't portable (hardcoded paths).