diff options
-rw-r--r-- | setuptools/ssl_support.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/ssl_support.py b/setuptools/ssl_support.py index e95dc071..16272630 100644 --- a/setuptools/ssl_support.py +++ b/setuptools/ssl_support.py @@ -243,6 +243,7 @@ def find_ca_bundle(): if os.path.isfile(cert_path): return cert_path try: - return pkg_resources.resource_filename('certifi', 'cacert.pem') + import certifi + return certifi.where() except (ImportError, ResolutionError, ExtractionError): return None |