diff --git a/ptop.sh b/ptop.sh index fb2be5e..8407ba3 100755 --- a/ptop.sh +++ b/ptop.sh @@ -2,4 +2,4 @@ # Run ptop from current sources -tox -e package > /dev/null && ./px.pex --top "$@" +PYTHONPATH=px:$(echo env/lib/python*/site-packages) python3 -m px.px --top "$@" diff --git a/px.sh b/px.sh index 65a762e..9d80fd1 100755 --- a/px.sh +++ b/px.sh @@ -2,4 +2,4 @@ # Run px from current sources -tox -e package > /dev/null && ./px.pex "$@" +PYTHONPATH=px:$(echo env/lib/python*/site-packages) python3 -m px.px "$@"