Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
18 lines (14 sloc)
550 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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.") |