aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Tricoli <eriol@mornie.org>2015-05-03 22:41:43 +0000
committerDaniele Tricoli <eriol@mornie.org>2015-05-03 22:41:43 +0000
commita392a75387f3d7b541429977430a127d64cba0aa (patch)
tree8f8332cfa5aeb3fd0c7959a5dea4645701f6ee64
parentfd4bc74dca6e91dc29c11d635ffc0a6d56a6113a (diff)
downloadpython-requests-a392a75387f3d7b541429977430a127d64cba0aa.tar
python-requests-a392a75387f3d7b541429977430a127d64cba0aa.tar.gz
requests.packages must be exported
-rw-r--r--debian/patches/02_use-system-chardet-and-urllib3.patch8
1 files 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 <eriol@mornie.org>
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',