Added check for django 1.4+ to upstart checks.
This commit is contained in:
parent
9d0b8b5fe7
commit
cfc575f360
1 changed files with 4 additions and 3 deletions
|
|
@ -715,7 +715,7 @@ def check_evennia_dependencies():
|
||||||
# defining the requirements
|
# defining the requirements
|
||||||
python_min = '2.6'
|
python_min = '2.6'
|
||||||
twisted_min = '10.0'
|
twisted_min = '10.0'
|
||||||
django_min = '1.2'
|
django_min = '1.4'
|
||||||
south_min = '0.7'
|
south_min = '0.7'
|
||||||
nt_stop_python_min = '2.7'
|
nt_stop_python_min = '2.7'
|
||||||
|
|
||||||
|
|
@ -727,8 +727,9 @@ def check_evennia_dependencies():
|
||||||
if pversion < python_min:
|
if pversion < python_min:
|
||||||
errstring += "\n WARNING: Python %s used. Evennia recommends version %s or higher (but not 3.x)." % (pversion, python_min)
|
errstring += "\n WARNING: Python %s used. Evennia recommends version %s or higher (but not 3.x)." % (pversion, python_min)
|
||||||
if os.name == 'nt' and pversion < nt_stop_python_min:
|
if os.name == 'nt' and pversion < nt_stop_python_min:
|
||||||
errstring += "\n WARNING: Windows requires Python %s or higher in order to restart/stop the server from the command line."
|
errstring += "\n WARNING: Python %s used. Windows requires Python %s or higher in order to" % (pversion, nt_stop_python_min)
|
||||||
errstring += "\n (You need to restart/stop from inside the game.)" % nt_stop_python_min
|
errstring += " restart/stop the server from the command line."
|
||||||
|
errstring += "\n (You need to restart/stop from inside the game.)"
|
||||||
# Twisted
|
# Twisted
|
||||||
try:
|
try:
|
||||||
import twisted
|
import twisted
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue