33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
|
Index: requests-2.13.0/setup.py
|
||
|
===================================================================
|
||
|
--- requests-2.13.0.orig/setup.py
|
||
|
+++ requests-2.13.0/setup.py
|
||
|
@@ -36,17 +36,9 @@ if sys.argv[-1] == 'publish':
|
||
|
packages = [
|
||
|
'requests',
|
||
|
'requests.packages',
|
||
|
- 'requests.packages.chardet',
|
||
|
- 'requests.packages.idna',
|
||
|
- 'requests.packages.urllib3',
|
||
|
- 'requests.packages.urllib3.packages',
|
||
|
- 'requests.packages.urllib3.contrib',
|
||
|
- 'requests.packages.urllib3.util',
|
||
|
- 'requests.packages.urllib3.packages.ssl_match_hostname',
|
||
|
- 'requests.packages.urllib3.packages.backports',
|
||
|
]
|
||
|
|
||
|
-requires = []
|
||
|
+requires = ['chardet', 'idna', 'urllib3 >= #URLLIB3VERSION#']
|
||
|
test_requirements = ['pytest>=2.8.0', 'pytest-httpbin==0.0.7', 'pytest-cov', 'pytest-mock']
|
||
|
|
||
|
with open('requests/__init__.py', 'r') as fd:
|
||
|
@@ -72,7 +64,7 @@ setup(
|
||
|
packages=packages,
|
||
|
package_data={'': ['LICENSE', 'NOTICE']},
|
||
|
package_dir={'requests': 'requests'},
|
||
|
- include_package_data=True,
|
||
|
+ include_package_data=False,
|
||
|
install_requires=requires,
|
||
|
license='Apache 2.0',
|
||
|
zip_safe=False,
|