mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
27 lines
757 B
Diff
27 lines
757 B
Diff
diff --git a/requests/certs.py b/requests/certs.py
|
|
index 07e6475..33db011 100644
|
|
--- a/requests/certs.py
|
|
+++ b/requests/certs.py
|
|
@@ -19,7 +19,7 @@ except ImportError:
|
|
def where():
|
|
"""Return the preferred certificate bundle."""
|
|
# vendored bundle inside Requests
|
|
- return os.path.join(os.path.dirname(__file__), 'cacert.pem')
|
|
+ return "/etc/ssl/certs/ca-certificates.crt"
|
|
|
|
if __name__ == '__main__':
|
|
print(where())
|
|
diff --git a/setup.py b/setup.py
|
|
index e39d13b..3b86d3c 100755
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -27,7 +27,7 @@ packages = [
|
|
'requests.packages.urllib3.packages.ssl_match_hostname',
|
|
]
|
|
|
|
-requires = ['certifi']
|
|
+requires = []
|
|
|
|
with open('README.rst', 'r', 'utf-8') as f:
|
|
readme = f.read()
|