Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
python-setuptools.9233
setuptools-certpath.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File setuptools-certpath.patch of Package python-setuptools.9233
Index: setuptools-18.0.1/setuptools/ssl_support.py =================================================================== --- setuptools-18.0.1.orig/setuptools/ssl_support.py +++ setuptools-18.0.1/setuptools/ssl_support.py @@ -24,6 +24,7 @@ cert_paths = """ /usr/local/share/certs/ca-root.crt /etc/ssl/cert.pem /System/Library/OpenSSL/certs/cert.pem +/etc/ssl/ca-bundle.pem """.strip().split() @@ -236,6 +237,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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor