diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/python3-httpx/python3-httpx.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-httpx/python3-httpx.SlackBuild b/python/python3-httpx/python3-httpx.SlackBuild index 824b559f95..9c54101cb3 100644 --- a/python/python3-httpx/python3-httpx.SlackBuild +++ b/python/python3-httpx/python3-httpx.SlackBuild @@ -66,6 +66,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + #remove upper version requirement from pyproject.toml and PKG-INFO /usr/bin/sed -i 's/,<[0-9].*\",$/\",/' pyproject.toml /usr/bin/sed -i 's/<[0-9].*,//' PKG-INFO |