diff options
| author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 11:33:43 -0600 |
|---|---|---|
| committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:13 +0700 |
| commit | b12fa5c3285f030e4b222ecaace76522dd344c3e (patch) | |
| tree | 6d05ff0aa3907771e0836050c61b6c212c374795 /python/python3-astroid/python3-astroid.SlackBuild | |
| parent | 9b6ff952ef2f5d48b176bc3d18494e36e6a352be (diff) | |
python/python3-astroid: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-astroid/python3-astroid.SlackBuild')
| -rw-r--r-- | python/python3-astroid/python3-astroid.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python3-astroid/python3-astroid.SlackBuild b/python/python3-astroid/python3-astroid.SlackBuild index 4186de1824..e106c9ffcc 100644 --- a/python/python3-astroid/python3-astroid.SlackBuild +++ b/python/python3-astroid/python3-astroid.SlackBuild @@ -79,7 +79,8 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Beacause of the python3-setuptools-opt -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 --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl |
