-
Notifications
You must be signed in to change notification settings - Fork 138
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.
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
PyInstaller
pip install PyInstaller
Download the appropriate Python 2.7 installer from https://www.python.org/downloads. e.g. Windows x86-64 MSI installer.
Install Python 2.7 onto Windows host.
Add ROOT folder of Python install directory and /Scripts to Windows PATH Environment variable
Run pip install pyinstaller