mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/python-evdev: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
fa4a4c70ab
commit
6a8f4d53c9
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,8 @@ find -L . \
|
|||
# ... but upstream shipped evdev-1.0.0 with 660 permissions everywhere, so:
|
||||
find -L . -perm 660 -exec chmod 644 {} \;
|
||||
|
||||
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 setup.py install --root=$PKG
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
|
|
Loading…
Reference in a new issue