diff options
author | fourtysixandtwo | 2024-03-31 19:33:45 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2024-04-05 10:18:15 +0200 |
commit | 11bbb5b12f5677aad03a3919324d6216b4e6a9a1 (patch) | |
tree | ddd78914317b9ac0d6f7bee350f95bcc805f7fce | |
parent | 9dc13520927d7b2ef3107a94b4966aec9669ab76 (diff) | |
download | slackbuilds-11bbb5b12f5677aad03a3919324d6216b4e6a9a1.tar.gz |
python/python3-pandas: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/python3-pandas/python3-pandas.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python3-pandas/python3-pandas.SlackBuild b/python/python3-pandas/python3-pandas.SlackBuild index 33a8406941..daa7810213 100644 --- a/python/python3-pandas/python3-pandas.SlackBuild +++ b/python/python3-pandas/python3-pandas.SlackBuild @@ -73,7 +73,8 @@ sed -i 's/meson-python==/meson-python>=/' pyproject.toml sed -i 's/meson==/meson>=/' pyproject.toml # needs newer meson -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/ # cannot build sdist, specify just wheel python3 -m build --wheel --no-isolation |