Skip to content
Myr

Revert "Auto-detect CA Cert path instead of requiring users to hack setup.py"

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This reverts commit 62a23bfbdecf54e13e571237df5a175e53d539cb.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 12e5f38 · Browse files · 1 file+5 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−8 removed

  • other:+5 added−8 removed

1 file+5 added−8 removed

modified:setup.py+5 added-8 removed
28 unmodified lines
29 'requests.packages.urllib3.packages.ssl_match_hostname',30 'requests.packages.urllib3.packages.mimetools_choose_boundary',31]3233requires = []33# certifi is a Python package containing a CA certificate bundle for SSL verification.34# On certain supported platforms (e.g., Red Hat / Debian / FreeBSD), Requests can35# use the system CA bundle instead; see `requests.utils` for details.36# If your platform is supported, set `requires` to [] instead:37requires = ['certifi>=0.0.7']3835# certifi is a Python package containing a CA certificate bundle for SSL36# verification. On certain supported platforms (e.g., Red Hat / Debian /37# FreeBSD), Requests can use the system CA bundle instead; see `requests.utils`38# for details.39if not requests.utils.get_os_ca_bundle_path():40 requires.append('certifi>=0.0.7')4139# chardet is used to optimally guess the encodings of pages that don't declare one.40# At this time, chardet is not a required dependency. However, it's sufficiently41# important that pip/setuptools should install it when it's unavailable.42if is_py3:
34 unmodified lines