From 488a51d619c7175248fba1f904a834224c009966 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 5 Jun 2012 00:51:46 +0200 Subject: [PATCH] Revert "Auto-detect CA Cert path instead of requiring users to hack setup.py" This reverts commit 62a23bfbdecf54e13e571237df5a175e53d539cb. --- setup.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index 13fbf71..432c68d 100755 --- a/setup.py +++ b/setup.py @@ -30,14 +30,11 @@ packages = [ 'requests.packages.urllib3.packages.mimetools_choose_boundary', ] -requires = [] - -# certifi is a Python package containing a CA certificate bundle for SSL -# verification. On certain supported platforms (e.g., Red Hat / Debian / -# FreeBSD), Requests can use the system CA bundle instead; see `requests.utils` -# for details. -if not requests.utils.get_os_ca_bundle_path(): - requires.append('certifi>=0.0.7') +# certifi is a Python package containing a CA certificate bundle for SSL verification. +# On certain supported platforms (e.g., Red Hat / Debian / FreeBSD), Requests can +# use the system CA bundle instead; see `requests.utils` for details. +# If your platform is supported, set `requires` to [] instead: +requires = ['certifi>=0.0.7'] # chardet is used to optimally guess the encodings of pages that don't declare one. # At this time, chardet is not a required dependency. However, it's sufficiently -- 2.7.4