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 14:02:29 +0000
commit12a013173d4175a3dcbe728128a63a399358bf6f (patch)
tree954791660ea31f9724d1a6a6c279bdda21b7abc8
parentcddad0f16e1525b6eca41b88a8df50a9e31613f5 (diff)
downloadpython-requests-12a013173d4175a3dcbe728128a63a399358bf6f.tar
python-requests-12a013173d4175a3dcbe728128a63a399358bf6f.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..2648a3a 100755
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,9 @@ packages = [
'requests.packages.urllib3.packages.ssl_match_hostname',
]
-requires = []
+requires = [
+ 'urllib3==1.13.1',
+]
version = ''
with open('requests/__init__.py', 'r') as fd: