Skip to content

PyInstaller installation notes

Andrew Reslan edited this page Mar 18, 2016 · 3 revisions

PyInstaller Installation Notes

PyInstaller is used to generate a single executable from a root python script and all of it's dependencies.

For Sync Gateway PyInstaller is used to build the sgcollect_info for each deployed platform, this allows us to ship a single .exe rather than multiple python scripts and on Windows a python.dll.

For each build platform PyInstaller must be installed on the Jenkins build slave so that it can be used by the build scripts.

Linux

Pre Requisites

libc-bin

Ubuntu: sudo apt-get install libc-bin

binutils

Ubuntu: sudo apt-get install binutils

python 2.7

Ubuntu: sudo apt-get install python2.7

python-dev

Ubuntu: sudo apt-get install python-dev

python-pip

Ubuntu: sudo apt-get install python-pip

PyInstaller

pip install PyInstaller

Mac OSX (El Capitan)

PyInstaller

pip install PyInstaller

Windows

Clone this wiki locally