Skip to content

Changing the installation directory of the python-module #637

@cherti

Description

@cherti

I just tried to package bohrium 0.11.0, however, I run into the issue that when I run make DESTDIR=$pkgdir install, bohrium attempts to install to /usr/lib/python3.8... (which was set via -DCMAKE_INSTALL_PREFIX=/usr earlier, as this will be the location after the final installation). This is of course very unintended behavior for packaging. I haven't found any documentation or a flag to change this behavior so far.

How is this supposed to be changed?

For Python-packages, typically one can set the --root="$pkgdir/"-option, which takes care of this issue, such as

python setup.py install --root="$pkgdir/"

Is something like this configurable in bohrium?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions