Skip to content

Commit

Permalink
Avoid duplicate dependency on requests
Browse files Browse the repository at this point in the history
The duplicate dependency is causing issues with pip on Python 2.7.

Context:
- #447
- pypa/pip#4957

Fixes #447
  • Loading branch information
jleclanche committed Jul 18, 2018
1 parent 66aa334 commit a249415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def run_tests(self):
package_data={'stripe': ['data/ca-certificates.crt']},
zip_safe=False,
install_requires=[
'requests >= 2',
'requests >= 2; python_version >= "3.0"',
'requests[security] >= 2; python_version < "3.0"',
],
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
Expand Down

0 comments on commit a249415

Please sign in to comment.