Wikinews:Tech/Pitsilemu/Installation
To install Pitsilemu is not a easy process, but at the end, you'll see of satisfying is it. :-D
Setup
editPython
edit- 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
editThe Python IRC library is an event-driven IRC client framework written in Python.
- Installation
- Run "python setup.py install" or copy irclib.py and/or ircbot.py to an appropriate Python module directory.
Pitsilemu
editDownload the latest version from the SourceForge project. Extract it whenever you want.
Next step is to set-up config.py.
- Main: config.py
Running Pitsilemu
editNow 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. :-)