-
Notifications
You must be signed in to change notification settings - Fork 0
Build System
Kitten Tofu edited this page May 28, 2014
·
3 revisions
Right now we do binary releases on the 1st of every month.
To set up our build environment on windows:
- Install Windows (version should not matter)
- Install VC++ 2010 Express. go.microsoft.com/?linkid=9709949
- Install Python 3.4.1 (32 bit)
- Install QT for VC 2010 (32 bit)
- Install git
- Ensure that you have these in the path:
C:\Qt\QtX.Y.Z\msvc2010_opengl\bin
C:\Python34
C:\Python34\Scripts
C:\Program Files (x86)\Git\cmd
C:\Program Files (x86)\Git\bin
C:\Windows\system32
C:\Windows
- Run
C:\Program Files (x86)\Microsoft Visual Studio 1.0\VC\vcvarsall.bat
to set up visual studio environment variables. - Install sip with
python configure.py & nmake install
- Install pyqt
python configure.py & nmake install
- Install the latest cxfreeze snapshot
python setup.py install
- Install other dependencies via pip
cxfreeze scripts can be generated with python C:\Python34\Scripts\cxfreeze-quickstart
This generates a standalone directory that is about 23 MB compressed, 100 MB uncompressed.
As yet we do not support linux and mac osx binaries, but will eventually do so. We also have plans to automate the process with buildbot at some point.
Any libraries that use external files must have those files manually included in the freeze zip. e.g. requests needs CA certificates.