commit d38feee00e6a9c684f9ea779a7dca86ea620f991 Author: Damian Johnson atagar@torproject.org Date: Thu Apr 9 01:04:29 2020 -0700
Jenkins uses 'dist-packages' for installation test
Ah. Our installation test creates the following path on the jenkins server...
/tmp/stem_test/usr/local/lib/python3.7/dist-packages --- test/integ/installation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/integ/installation.py b/test/integ/installation.py index 8402ea32..60b6a73a 100644 --- a/test/integ/installation.py +++ b/test/integ/installation.py @@ -78,7 +78,7 @@ class TestInstallation(unittest.TestCase): if platform.python_implementation() == 'PyPy': site_packages_paths = glob.glob('%s/*/*/site-packages' % BASE_INSTALL_PATH) else: - site_packages_paths = glob.glob('%s/*/*/lib*/*/site-packages' % BASE_INSTALL_PATH) + site_packages_paths = glob.glob('%s/*/*/lib*/*/*-packages' % BASE_INSTALL_PATH) except stem.util.system.CallError as exc: msg = ["Unable to install with '%s': %s" % (exc.command, exc.msg)]
tor-commits@lists.torproject.org