Two patches, courtesy of Ari:

* The startup script (evennia.py) will now take your PYTHONPATH environmental variable into account when starting. This may resolve potential issues with Twisted on Windows with certain combinations of Python.
* The INSTALL file still referred to startup.bat, which is now gone in favor of evennia.py.

Thanks Ari!
This commit is contained in:
Greg Taylor 2009-07-06 02:55:25 +00:00
parent ddfd479ba9
commit 05791b3593
2 changed files with 8 additions and 4 deletions

View file

@ -31,7 +31,7 @@ in development, we'll make sure to update this. But for the really determined
* If you want to use anything other than the default SQLite setup, copy and * If you want to use anything other than the default SQLite setup, copy and
modify the DATABASE_* variables from src/config_defaults.py. modify the DATABASE_* variables from src/config_defaults.py.
* Run 'python manage.py syncdb' * Run 'python manage.py syncdb'
* Run startup.sh or startup.bat depending on whether you're on Linux/Unix or * Run 'python evennia.py start'. This will start the MU* server on port 4000
Windows. This will start the MU* server on port 4000 by default. You may by default. You may change this via the web interface or by editing the
change this via the web interface or by editing the config table in SQL. config table in SQL.
* Login with the email address and password you provided to the syncdb script. * Login with the email address and password you provided to the syncdb script.

View file

@ -35,7 +35,11 @@ else:
TWISTED_BINARY = 'twistd' TWISTED_BINARY = 'twistd'
# Add this to the environmental variable for the 'twistd' command. # Add this to the environmental variable for the 'twistd' command.
os.environ['PYTHONPATH'] = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) tmppath = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if 'PYTHONPATH' in os.environ:
os.environ['PYTHONPATH'] += (":%s" % tmppath)
else:
os.environ['PYTHONPATH'] = tmppath
def cycle_logfile(): def cycle_logfile():
""" """