This commit is contained in:
Mika Suomalainen 2012-05-10 11:30:00 +03:00
parent 73e33c511e
commit 8ea1778ca0

View File

@ -1,31 +1,30 @@
# Common # Common
First things first: Supybot *requires* at least Python 2.6. There First things first: Supybot *requires* at least Python 2.6. There
isn't any way to get around it. You can get it from [Python homepage]. isn't any way to get around it. You can get it from [Python homepage].
[Python homepage]:http://python.org/ [Python homepage]:http://python.org/
# Recommended Software # Recommended Software
[PySQLite] -- Version 2.x [PySQLite] -- Version 2.x
[Twisted] -- Version 1.2.0 or greater
[Twisted] -- Version 1.2.0 or greater
[PySQLite]:https://code.google.com/p/pysqlite/ [PySQLite]:https://code.google.com/p/pysqlite/
[Twisted]:http://twistedmatrix.com/trac/ [Twisted]:http://twistedmatrix.com/trac/
For more information and help on how to use Supybot, checkout For more information and help on how to use Supybot, checkout
the documents under docs/ (especially GETTING_STARTED and the documents under docs/ (especially GETTING_STARTED and
CONFIGURATION). CONFIGURATION).
So what do you do? That depends on which operating system you're So what do you do? That depends on which operating system you're
running. We've split this document up to address the different running. We've split this document up to address the different
methods, so find the section for your operating system and continue methods, so find the section for your operating system and continue
from there. from there.
# UNIX/Linux/BSD # UNIX/Linux/BSD
If you're installing Python using your distributor's packages, you may If you're installing Python using your distributor's packages, you may
need a python-dev package installed, too. If you don't have a need a python-dev package installed, too. If you don't have a
'/usr/lib/python2.x/distutils' directory or '/usr/lib/python2.x/distutils' directory or
'/usr/lib/python2.x/config/Makefile' (assuming '/usr/lib/python2.x' is '/usr/lib/python2.x/config/Makefile' (assuming '/usr/lib/python2.x' is
@ -81,12 +80,12 @@ PATH=$HOME/.local:$PATH
# Windows # Windows
**Note**: If you are using an IPV6 connection, you will not be able **Note**: If you are using an IPV6 connection, you will not be able
to run Supybot under Windows (unless Python has fixed things). Current to run Supybot under Windows (unless Python has fixed things). Current
versions of Python for Windows are *not* built with IPV6 support. This versions of Python for Windows are *not* built with IPV6 support. This
isn't expected to be fixed until Python 2.4, at the earliest. isn't expected to be fixed until Python 2.4, at the earliest.
Now that you have Python installed, open up a command prompt. The Now that you have Python installed, open up a command prompt. The
easiest way to do this is to open the run dialog (Programs -> run) and easiest way to do this is to open the run dialog (Programs -> run) and
type "cmd" (for Windows 2000/XP/2003) or "command" (for Windows 9x). In type "cmd" (for Windows 2000/XP/2003) or "command" (for Windows 9x). In
order to reduce the amount of typing you need to do, I suggest adding order to reduce the amount of typing you need to do, I suggest adding
@ -98,7 +97,7 @@ default settings, you would then do the following in the command prompt
set PATH=C:\Python2x\;%PATH% set PATH=C:\Python2x\;%PATH%
``` ```
You should now be able to type 'python' to start the Python You should now be able to type 'python' to start the Python
interpreter. Exit by pressing CTRL-Z and then Return. Now that that's interpreter. Exit by pressing CTRL-Z and then Return. Now that that's
setup, you'll want to cd into the directory that was created when you setup, you'll want to cd into the directory that was created when you
unzipped Supybot; I'll assume you unzipped it to 'C:\Supybot' for these unzipped Supybot; I'll assume you unzipped it to 'C:\Supybot' for these