Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the installation directory of the python-module #637

Open
cherti opened this issue May 23, 2020 · 0 comments
Open

Changing the installation directory of the python-module #637

cherti opened this issue May 23, 2020 · 0 comments

Comments

@cherti
Copy link
Contributor

cherti commented May 23, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant