I have written a python script which depends on paramiko to work. The system that will run my script has the following limitations:
- No internet connectivity (so it can't download dependencies on the fly).
- Volumes are mounted with 'noexec' (so I cannot run my code as a binary file generated with something like 'pyInstaller')
- End-user cannot be expected to install any dependencies.
- Vanilla python is installed (without paramiko)
- Python version is 2.7.5
- Pip is not installed either and cannot be installed on the box
I however, have access to pip on my development box (if that helps in any way).
So, what is the way to deploy my script so that I am able to provide it to the end-user with the required dependencies, i.e paramiko (and sub-dependencies of paramiko), so that the user is able to run the script out-of-the-box?
I have already tried the pyinstaller 'one folder' approach but then faced the 'noexec' issue. I have also tried to directly copy paramiko (and sub-dependencies of paramiko) to a place from where my script is able to find it with no success.