From a392a75387f3d7b541429977430a127d64cba0aa Mon Sep 17 00:00:00 2001 From: Daniele Tricoli Date: Sun, 3 May 2015 22:41:43 +0000 Subject: requests.packages must be exported --- debian/patches/02_use-system-chardet-and-urllib3.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/patches/02_use-system-chardet-and-urllib3.patch b/debian/patches/02_use-system-chardet-and-urllib3.patch index 95a2376..69f06cc 100644 --- a/debian/patches/02_use-system-chardet-and-urllib3.patch +++ b/debian/patches/02_use-system-chardet-and-urllib3.patch @@ -1,5 +1,6 @@ Description: Use the system python-chardet and python-urllib3 instead of the - embedded copies. + embedded copies but provide requests.packages package because it will be + used to supply a stub for ``requests.packages.urllib3``. Author: Daniele Tricoli Forwarded: not-needed Last-Update: 2015-05-03 @@ -80,11 +81,10 @@ Last-Update: 2015-05-03 HTTPError, MissingSchema, InvalidURL, ChunkedEncodingError, --- a/setup.py +++ b/setup.py -@@ -17,13 +17,6 @@ - +@@ -18,12 +18,6 @@ packages = [ 'requests', -- 'requests.packages', + 'requests.packages', - 'requests.packages.chardet', - 'requests.packages.urllib3', - 'requests.packages.urllib3.packages', -- cgit v1.2.3