Wikinews:Tech/Pitsilemu/Installation

To install Pitsilemu is not a easy process, but at the end, you'll see of satisfying is it. :-D

Python

 * Requirement: To run Pitsilemu, Python v2.4 or higher is required, but Python v3.x isn't currently supported. Some of the code may work on Python version 2.3.


 * For Windows, download the latest Python v2.x here ( not 3.x version!! )
 * For Mac and Unix, Python is already present on Mac OS X and on some Unix versions (although it might be necessary or recommended to update it if you have a very old version).

On Windows, follow the steps on-screen and you'll get a fresh Python copy.

Python IRC library
The Python IRC library is an event-driven IRC client framework written in Python.


 * Download the latest version.
 * Installation
 * Run "python setup.py install" or copy irclib.py and/or ircbot.py to an appropriate Python module directory.

Pitsilemu
Download the latest version from the SourceForge project. Extract it whenever you want.

Next step is to set-up config.py.

config.py

 * Main: config.py

Running Pitsilemu
Now that you've configured config.py, the next step is to run it, if you have successfully installed Python and the IRC library.


 * In Linux go to the path you've extracted Pitsilemu and type: python orejotas.py
 * On Windows, just double-click the file named orejotas.py

You'll get a nice command line with the bot running. :-)