How to make a portable Python script with dependencies on machines without the Internet?
There is:
- Several machines with Linux Ubuntu 14.04.1 x32
- Python 2.7.6
Not:
- setuptools
- pip
- the internet
Purpose: to build such a package so that the user downloads it, runs make, and gets a working program on the system.
Dependencies:
mysql-connector (uses distutils to build)
openpyxl (uses pip to build)
upd: everything turned out to be easier than I thought, mysql was built from source, openpyxl was installed locally with pip -t, now users can download the package and install it into the system using make. In principle, all ubuntas are similar, everyone should start.