mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 12:56:30 +01:00
Path adjustments.
This commit is contained in:
parent
2fe2aa6db7
commit
3c1ada6fa6
1 changed files with 2 additions and 1 deletions
3
setup.py
3
setup.py
|
|
@ -28,8 +28,9 @@ def get_scripts():
|
|||
"""
|
||||
if os.name == "nt":
|
||||
batpath = os.path.join("bin", "windows", "evennia.bat")
|
||||
scriptpath = os.path.join(sys.prefix, "bin", "windows", "evennia.py")
|
||||
with open(batpath, "w") as batfile:
|
||||
batfile.write("@\"%s\" \"%s\" %%*" % (sys.executable, batpath))
|
||||
batfile.write("@\"%s\" \"%s\" %%*" % (sys.executable, scriptpath))
|
||||
return [batpath]
|
||||
else:
|
||||
return [os.path.join("bin", "unix", "evennia")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue