Skip to content

Installing extension into project-specific directory #662

Answered by dnicolodi
voidtrance asked this question in Q&A
Discussion options

You must be logged in to vote

You should use

python = import('python').find_installation()
library(...
  install_dir = pythin.get_install_dir(pure: false) / 'myproject/lib'
)

However, I'm not sure doing this results in the RPATH for the Python extension module that depends on this library to be set correctly.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@voidtrance
Comment options

@eli-schwartz
Comment options

@voidtrance
Comment options

@voidtrance
Comment options

@dnicolodi
Comment options

Answer selected by voidtrance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants