PyInstaller 3.0 y ARM
Este post será un recordatorio. Para instalar PyInstaller: Primero deshacerse de todo lo que haya de pyinstaller que se haya instalado antes
pip unistall pyinstaller updatedb locate -i pyinstaller |grep -v '^/root' echo "borrar archivos de arriba"
Ahora instalarlo
wget https://github.com/pyinstaller/pyinstaller/releases/download/3.0/PyInstaller-3.0.tar.gz tar xzvf PyInstaller-3.0.tar.gz # El siguiente sed permite usarlo como root sed -i '110i\ \ \ \ return True' PyInstaller-3.0/PyInstaller/utils/misc.py cd PyInstaller-3.0/bootloader/ # borrar lineas 289 y 290 de wscript que agrega el -m32 sed -i '289 s/^/#/' wscript sed -i '290 s/^/#/' wscript # la compilacion anterior requiere zlib, en caso de que tire error -lz falta zlib-dev ### en ubuntu 14.04 se soluciona con: # aptitude install zlib1g-dev python waf distclean --no-lsb all cd ../ python setup.py install
y listo :-)
Para probarlo:
$ pyinstaller --noconfirm --onefile --clean MiScript.py












