From e0026146076e2b3a3ea6d9aebfd5382eee3ebb99 Mon Sep 17 00:00:00 2001 From: Robert Coup Date: Thu, 20 Feb 2020 09:57:03 +0000 Subject: [PATCH] ci: Fix for post-build feature detection in wheels --- travis/build-manylinux1-wheels.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/travis/build-manylinux1-wheels.sh b/travis/build-manylinux1-wheels.sh index 715c10391..5c8723a15 100755 --- a/travis/build-manylinux1-wheels.sh +++ b/travis/build-manylinux1-wheels.sh @@ -252,9 +252,9 @@ for PY in $PYTHONS; do $PY_BIN -B -c ' import pygit2 print("libgit2 version: %s" % pygit2.LIBGIT2_VERSION) -print("pygit2 supports threads: %s" % str(bool(pygit2.GIT_FEATURE_THREADS))) -print("pygit2 supports HTTPS: %s" % str(bool(pygit2.GIT_FEATURE_THREADS))) -print("pygit2 supports SSH: %s" % str(bool(pygit2.GIT_FEATURE_THREADS))) +print("pygit2 supports threads: %s" % str(bool(pygit2.features & pygit2.GIT_FEATURE_THREADS))) +print("pygit2 supports HTTPS: %s" % str(bool(pygit2.features & pygit2.GIT_FEATURE_HTTPS))) +print("pygit2 supports SSH: %s" % str(bool(pygit2.features & pygit2.GIT_FEATURE_SSH))) print("") ' done