Wikinews:Tech/Pitsilemu/Mac

This is a complete step-by-step guide on how to run your own Pitsilemu bot on IRC, from your Mac.

Downloading MacPython
Apple provides an installation of Python with every Mac OS X installation, by default. You don’t need to install Python, but you might want to update it. Here are the instructions.

First of all, you need to download Python, the application that reads the scripts and does something with them. Download MacPython from here, choosing “Python 2.5.2 for Macintosh OS X”. Open the downloaded dmg file and install it. In Applications in Finder you should now find a folder named “MacPython 2.5”. Nothing else needs to be done here, close Finder.

NOTE: A new application will be installed on your Mac, with the name “IDLE”. It’s just difficult and confusing, and nothing worth spending time on trying to use.

Downloading the scripts
Open Terminal, you can find it by searching for it in Spotlight. Now, copy-paste the following into Terminal, and press enter/return: svn checkout https://pitsilemu.svn.sourceforge.net/svnroot/pitsilemu/ pitsilemu

A folder will be created in the “home” folder (look in the left column in the Finder for the house icon and your username), with the name “pitsilemu”, in which all the scripts will be when the downloading is finished. You can see when it’s finished by looking for the following in the last line in Terminal: NAME_OF_COMPUTER:~ USER_NAME$ This text is equal to the one appearing when you open Terminal (it is called prompt).

config.py
Please see config.py