Using the 0.0.3 release, I realized we have a packaging problem on macOS:
the wrapper is looking for the libzim in standard location, which is good for those who have the libzim installed but not the expected behavior (that's why we bundle it!)
So this PR fixes that by telling the wrapper to look for the libzim next to it.
The $ORIGIN rpath was already set for linux but macOS behaves differently (equivalent is @loader_path/)
Using the 0.0.3 release, I realized we have a packaging problem on macOS: the wrapper is looking for the libzim in standard location, which is good for those who have the libzim installed but not the expected behavior (that's why we bundle it!)
So this PR fixes that by telling the wrapper to look for the libzim next to it. The
$ORIGIN
rpath was already set for linux but macOS behaves differently (equivalent is@loader_path/
)Changes:
--rpath
argument based on platform--rpath
behavior on macOS python#363530.0.3.post0
so we can publish on PyPiThis has been tested on macOS and Linux via test.pypi.org