这是indexloc提供的服务,不要输入任何密码
Skip to content

Install global game binary #709

@TheJJ

Description

@TheJJ

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 install to install the run.py as openage launcher script

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: buildsystemRelated to our cmake/python buildsystemimprovementEnhancement of an existing componentjust do itYou can start working on this, there should be nothing left to discusslang: pythonDone in Python code

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions