Skip to content

Building on Windows

dripton edited this page Feb 4, 2012 · 4 revisions

Before building on Windows for the first time, you need to install the dependencies:

  • Python 2.7.2
    o http://python.org/ftp/python/2.7.2/python-2.7.2.msi
    o “Install for just me”, c:\python27
    o Add c:\python27 and c:\python27\scripts to PATH
  • PyWin32
    o http://sourceforge.net/projects/pywin32/files/pywin32/Build216/pywin32-216.win32-py2.7.exe/download
  • PyGTK
    o http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/pygtk-all-in-one-2.24.0.win32-py2.7.msi
    o Use the defaults (we need PyCairo, PyGObject, Pango)
  • Distribute
    o http://python-distribute.org/distribute_setup.py
    o c:\python27\python.exe distribute_setup.py
  • Zope Interface
    o http://pypi.python.org/packages/2.7/z/zope.interface/zope.interface-3.8.0-py2.7-win32.egg#md5=5c985df0467e8727e8c8675abd0621c0
    o Rather than downloading it, do c:\python27\scripts\easy_install.exe install zope.interface
    o cd \python27\lib\site-packages\zope and create a zero-byte __init__.py
  • Twisted
    o http://twistedmatrix.com/Releases/Twisted/11.0/Twisted-11.0.0.winxp32-py2.7.msi
    o Rather than downloading it, do c:\python27\scripts\easy_install.exe install twisted
  • trueskill
    o c:\python27\scripts\easy_install.exe trueskill
  • PyInstaller
    o http://files.zibricky.org/pyinst/pyinstaller-1.5.1.zip
    o Unzip it to c:\ (it will create \pyinstaller-1.5.1)

Checkout the Slugathon source with Git from c:\src, or download the zip file from github and unzip it under c:\src, to create c:\src\Slugathon

c:
cd src\Slugathon
python setup.py install
python c:\pyinstaller-1.5.1\pyinstaller.py slugathon.spec

It will create dist\slugathon.exe