mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 03:02:52 +01:00
Change our minimum dependency back to 2.3
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
parent
4a7fe53365
commit
d37580e592
2
INSTALL
2
INSTALL
@ -1,6 +1,6 @@
|
|||||||
Common
|
Common
|
||||||
|
|
||||||
First things first: Supybot *requires* at least Python 2.4. There
|
First things first: Supybot *requires* at least Python 2.3. There
|
||||||
ain't no getting around it. You can get it from http://www.python.org/.
|
ain't no getting around it. You can get it from http://www.python.org/.
|
||||||
|
|
||||||
Recommended Software
|
Recommended Software
|
||||||
|
@ -44,8 +44,8 @@ import shutil
|
|||||||
import signal
|
import signal
|
||||||
import cStringIO as StringIO
|
import cStringIO as StringIO
|
||||||
|
|
||||||
if sys.version_info < (2, 4, 0):
|
if sys.version_info < (2, 3, 0):
|
||||||
sys.stderr.write('This program requires Python >= 2.4.0\n')
|
sys.stderr.write('This program requires Python >= 2.3.0\n')
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
def _termHandler(signalNumber, stackFrame):
|
def _termHandler(signalNumber, stackFrame):
|
||||||
|
@ -43,8 +43,8 @@ def error(s):
|
|||||||
sys.stderr.write(os.linesep)
|
sys.stderr.write(os.linesep)
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
if sys.version_info < (2, 4, 0):
|
if sys.version_info < (2, 3, 0):
|
||||||
error('This script requires Python 2.4 or newer.')
|
error('This script requires Python 2.3 or newer.')
|
||||||
|
|
||||||
import supybot.conf as conf
|
import supybot.conf as conf
|
||||||
from supybot.questions import *
|
from supybot.questions import *
|
||||||
|
@ -39,8 +39,8 @@ def error(s):
|
|||||||
sys.stderr.write(os.linesep)
|
sys.stderr.write(os.linesep)
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
if sys.version_info < (2, 4, 0):
|
if sys.version_info < (2, 3, 0):
|
||||||
error('This program requires Python >= 2.4.0')
|
error('This program requires Python >= 2.3.0')
|
||||||
|
|
||||||
import supybot
|
import supybot
|
||||||
|
|
||||||
|
4
setup.py
4
setup.py
@ -32,8 +32,8 @@
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
if sys.version_info < (2, 4, 0):
|
if sys.version_info < (2, 3, 0):
|
||||||
sys.stderr.write("Supybot requires Python 2.4 or newer.\n")
|
sys.stderr.write("Supybot requires Python 2.3 or newer.\n")
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
import textwrap
|
import textwrap
|
||||||
|
Loading…
Reference in New Issue
Block a user