Browse Source
python/python3-maturin: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/223/head
fourtysixandtwo
2 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with
3 additions and
1 deletions
-
python/python3-maturin/python3-maturin.SlackBuild
|
|
@ -97,7 +97,9 @@ else |
|
|
|
export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH" |
|
|
|
fi |
|
|
|
|
|
|
|
export PYTHONPATH=/opt/python3.9/site-packages/ |
|
|
|
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') |
|
|
|
export PYTHONPATH=/opt/python$PYVER/site-packages |
|
|
|
|
|
|
|
python3 -m build --no-isolation |
|
|
|
python3 -m installer -d "$PKG" dist/*.whl |
|
|
|
|
|
|
|