aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Tricoli <eriol@mornie.org>2015-10-23 16:03:52 +0200
committerChristopher Baines <mail@cbaines.net>2015-12-22 13:46:21 +0000
commit08c16e06ad11c6fcb26f4ca1ea3f11093598092f (patch)
treed8e5a62186cf259b360fe6a119052f60aa809029
parentcddad0f16e1525b6eca41b88a8df50a9e31613f5 (diff)
downloadpython-requests-08c16e06ad11c6fcb26f4ca1ea3f11093598092f.tar
python-requests-08c16e06ad11c6fcb26f4ca1ea3f11093598092f.tar.gz
Populate install_requires for unbundled packages
This will avoid breakage updating urllib3 via pip when requests/urllib3 are already installed via the system packages. Forwarded: not-needed Bug-OpenStack: https://review.openstack.org/#/c/213310/0 Bug-Upstream: https://github.com/kennethreitz/requests/issues/2816 Patch-Name: 02_populate-install_requires.patch
-rwxr-xr-xsetup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index c483535..5e75b98 100755
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,9 @@ packages = [
'requests.packages.urllib3.packages.ssl_match_hostname',
]
-requires = []
+requires = [
+ 'urllib3==1.12',
+]
version = ''
with open('requests/__init__.py', 'r') as fd: