mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
18 lines
428 B
Python
Executable file
18 lines
428 B
Python
Executable file
#! /usr/bin/python
|
|
"""
|
|
Windows launcher. This is called by a dynamically created .bat file in
|
|
the python bin directory and makes the 'evennia' program available on
|
|
the command %path%.
|
|
"""
|
|
|
|
import os
|
|
import sys
|
|
|
|
# for pip install -e
|
|
sys.path.insert(0, os.path.abspath(os.getcwd()))
|
|
# main library path
|
|
sys.path.insert(0, os.path.join(sys.prefix, "Lib", "site-packages"))
|
|
|
|
from evennia.server.evennia_launcher import main
|
|
|
|
main()
|