Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

executable file 18 lines (14 sloc) 550 Bytes
#!/usr/bin/env python3
"""
Openage can, and should, be launched via python3 -m openage.
However, for dynamic analysis using LLVM's sanitizer, a self-compiled
executable is needed.
This file is Cythonized with an embedded interpreter, producing ./run,
which satisifies that requirement.
"""
if __name__ == '__main__@SOME_UNDEFINED_VARIABLE_CMAKE_WILL_REMOVE@':
from openage.__main__ import main
main()
else:
print("Running this in the source directory is not supported.",
"Please use `make run` or `bin/run.py` to start instead.")
You can’t perform that action at this time.