Date: Friday, September 30, 2022 @ 12:39:47
  Author: alex19ep
Revision: 1319037

use venv instead of pip for tests

Modified:
  python-matrix-common/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-30 12:39:31 UTC (rev 1319036)
+++ PKGBUILD    2022-09-30 12:39:47 UTC (rev 1319037)
@@ -21,8 +21,9 @@
 
 check() {
        cd "matrix-python-common-$pkgver"
-       pip install dist/*.whl
-       PYTHONPATH=. trial tests
+       python -m venv --system-site-packages test-env
+       test-env/bin/python -m installer dist/*.whl
+       PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m twisted.trial 
tests
 }
 
 package() {

Reply via email to