Use requests socks extra instead of requiring PySocks directly
authorHarmon <Harmon758@gmail.com>
Wed, 16 Oct 2019 18:19:45 +0000 (13:19 -0500)
committerHarmon <Harmon758@gmail.com>
Wed, 16 Oct 2019 18:19:45 +0000 (13:19 -0500)
setup.py

index 9ecb6394df556d2f3545af7a1fd72307d7e69e9c..e41fb81ebc4f6a2992def199702c0dcda134e95e 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -28,8 +28,7 @@ setup(name="tweepy",
       url="http://github.com/tweepy/tweepy",
       packages=find_packages(exclude=["tests", "examples"]),
       install_requires=[
-          "PySocks>=1.5.7",
-          "requests>=2.11.1",
+          "requests[socks]>=2.11.1",
           "requests_oauthlib>=0.7.0",
           "six>=1.10.0",
       ],