Remove tests_require from setup.py
authorHarmon <Harmon758@gmail.com>
Wed, 6 Apr 2022 01:22:44 +0000 (20:22 -0500)
committerHarmon <Harmon758@gmail.com>
Wed, 6 Apr 2022 01:22:44 +0000 (20:22 -0500)
setup.py test has been deprecated with https://github.com/pypa/setuptools/issues/1684 and https://github.com/pypa/setuptools/pull/1878 since setuptools v41.5.0

setup.py

index 278f27815c894293794161a8a6e1c7832ce36ffa..dbf324c7c56d64aea6725230be322bc10124dd41 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -16,10 +16,6 @@ else:
 with open("README.md") as readme_file:
     long_description = readme_file.read()
 
-tests_require = [
-    "vcrpy>=1.10.3",
-]
-
 setup(
     name="tweepy",
     version=version,
@@ -42,7 +38,6 @@ setup(
         "requests>=2.27.0,<3",
         "requests-oauthlib>=1.2.0,<2",
     ],
-    tests_require=tests_require,
     extras_require={
         "async": ["aiohttp>=3.7.3,<4"],
         "dev": [
@@ -51,7 +46,7 @@ setup(
             "tox>=3.21.0",
          ],
         "socks": ["requests[socks]>=2.27.0,<3"],
-        "test": tests_require,
+        "test": ["vcrpy>=1.10.3"],
     },
     test_suite="tests",
     keywords="twitter library",