-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area: buildsystemRelated to our cmake/python buildsystemRelated to our cmake/python buildsystemimprovementEnhancement of an existing componentEnhancement of an existing componentjust do itYou can start working on this, there should be nothing left to discussYou can start working on this, there should be nothing left to discusslang: pythonDone in Python codeDone in Python code
Milestone
Description
Currently, we don't install a game binary to e.g. /usr/bin/openage.
The only thing that complicates this is that we launch it from python, and installing some hacky bash script sucks.
Gentoo solves this with python-exec, but we have to provide something similar for other distros.
The easiest way will probably be to just install the run.py script or the cythonized run executable.
The problem that needs to be solved is how we install that binary to the "correct" path without distutils, as we use CMake instead of distutils for compiling and installing the code.
In a nutshell:
- Extend the buildsystem to figure out the distutils-equivalent install path (we can already do that for the openage python module itself)
- modify
make installto install therun.pyas openage launcher script
Metadata
Metadata
Assignees
Labels
area: buildsystemRelated to our cmake/python buildsystemRelated to our cmake/python buildsystemimprovementEnhancement of an existing componentEnhancement of an existing componentjust do itYou can start working on this, there should be nothing left to discussYou can start working on this, there should be nothing left to discusslang: pythonDone in Python codeDone in Python code