2003-03-12 07:26:59 +01:00
|
|
|
EVERYONE:
|
|
|
|
---------
|
|
|
|
Read LICENSE. It's a 2-clause BSD license, but you should read it anyway.
|
|
|
|
|
|
|
|
|
|
|
|
USERS:
|
|
|
|
------
|
2003-09-29 08:51:12 +02:00
|
|
|
First, you gotta have Python 2.3 for this. That's alright, though,
|
|
|
|
because Python 2.3 rocks, and you should have it anyway :)
|
2003-04-02 12:21:14 +02:00
|
|
|
|
2003-09-29 08:51:12 +02:00
|
|
|
Assuming "python" is in your path and points to Python 2.3 or newer,
|
|
|
|
then you need to run this:
|
|
|
|
|
|
|
|
python setup.py install
|
|
|
|
|
|
|
|
from the untarred directory to install the source files. Then just
|
2003-10-23 09:32:19 +02:00
|
|
|
run supybot-wizard (it's been installed in your path somewhere) to
|
2003-09-29 08:51:12 +02:00
|
|
|
create a script that will run your bot as you answered the questions
|
|
|
|
in the wizard.
|
|
|
|
|
2003-10-10 05:11:08 +02:00
|
|
|
If you have any trouble, feel free to swing by #supybot on
|
2003-09-29 08:51:12 +02:00
|
|
|
irc.freenode.net or irc.oftc.net (we have a supybot there relaying, so
|
|
|
|
either network works) and ask questions. We'll be happy to help
|
|
|
|
wherever we can. And by all means, if you find anything hard to
|
|
|
|
understand or think you know of a better way to do something, *please*
|
|
|
|
post it on Sourceforge.net so we can improve the bot!
|
2003-10-11 13:15:14 +02:00
|
|
|
|
2003-11-22 18:10:00 +01:00
|
|
|
If you want, try out the included default botscripts. Just be sure to
|
|
|
|
actually add an owner user for yourself with supybot-adduser. (An
|
|
|
|
"owner user" is simply one with the owner capability).
|
2003-10-11 13:15:14 +02:00
|
|
|
|
2003-10-11 18:19:48 +02:00
|
|
|
WINDOWS USERS:
|
|
|
|
--------------
|
2003-10-23 09:32:19 +02:00
|
|
|
The wizards (supybot-wizard, supybot-newplugin, and
|
|
|
|
supybot-adduser) are all installed to your Python directory's
|
2003-10-11 18:19:48 +02:00
|
|
|
\Scripts. What that *probably* means is that you'll run them like
|
2003-10-23 09:32:19 +02:00
|
|
|
this: C:\Python23\python C:\Python23\Scripts\supybot-wizard
|
2003-10-11 18:19:48 +02:00
|
|
|
|
|
|
|
|
2003-10-11 13:15:14 +02:00
|
|
|
DEVELOPERS:
|
2003-10-11 18:19:48 +02:00
|
|
|
-----------
|
2003-10-11 13:15:14 +02:00
|
|
|
Read OVERVIEW to see what the modules are used for. Read EXAMPLE to see some
|
|
|
|
examples of callbacks and command written for the bot. Read STYLE if you ever
|
|
|
|
wish to contribute.
|
|
|
|
|
|
|
|
Use PyLint. It's even better than PyChecker. A sample .pylintrc file
|
|
|
|
is included as tools/pylintrc. Copy this to ~/.pylintrc and you'll be
|
|
|
|
able to check your code with the same stringent guidelines I've found
|
|
|
|
useful to check my code. (deja vu? :))
|
|
|
|
|
|
|
|
If you run the tests on Windows (or on a modem connection), be sure to
|
2003-10-11 18:20:30 +02:00
|
|
|
exclude (test\test.py -e) test\test_Debian.py.
|