Skip to content
This repository

Before building Slugathon on Linux, you need to install the dependencies. This is easy because your distribution’s package manager probably has packages for all of them, but the exact names will vary by distribution.

You need a new enough version of your distribution that it comes with Python 2.6.x or 2.7.×. Then you need to tell your package manager to install PyGTK and Twisted and pip. If you have 2.6, you also need the argparse module. (It’s included in 2.7.) (And you might want py.test while you’re at it, though it’s optional.) Finally, you need to tell pip to install the trueskill module.

  • Gentoo
    o sudo emerge dev-python/twisted dev-python/pygtk dev-python/pytest dev-python/argparse dev-python/pip
    o sudo pip install trueskill
  • Ubuntu (9.04+) or Debian (6.0+)
    o sudo apt-get install python-twisted python-gtk2 python-py python-argparse python-pip
    o sudo pip install trueskill
  • Red Hat Enterprise or CentOS (6.0+)
    o sudo yum install pygtk2 python-twisted python-argparse python-pip
    o sudo pip install trueskill
  • Fedora (11+)
    o sudo yum install pygtk2 python-twisted python-pytest python-argparse python-pip
    o sudo pip install trueskill

I don’t have an Arch or Slackware or Mint or SuSE or *BSD box handy, but if you run any of those you’re clearly smart enough to figure it out.

Once the prerequisites are installed, here’s how you build and install Slugathon itself:

  • cd ~/src (or wherever you prefer to check out source code)
  • git clone git://github.com/dripton/Slugathon.git
  • cd Slugathon
  • python ./setup.py build
  • sudo python ./setup.py install

Here’s how to run the unit tests:

  • cd slugathon
  • py.test

And here’s how to run the game:

  • vim ~/.slugathon/globalprefs/passwd (add yourname:yourpass)
  • slugathon-client
Something went wrong with that request. Please try again.