Added a special path setup for the full install rather than the -e install on windows.
This commit is contained in:
parent
38fbdd5857
commit
c9a22ba657
1 changed files with 3 additions and 0 deletions
|
|
@ -7,7 +7,10 @@ the command %path%.
|
||||||
|
|
||||||
import os, sys
|
import os, sys
|
||||||
|
|
||||||
|
# for pip install -e
|
||||||
sys.path.insert(0, os.path.abspath(os.getcwd()))
|
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
|
from evennia.server.evennia_launcher import main
|
||||||
main()
|
main()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue