Skip to content

Commit 2870031

Browse files
committed
Remove tests_require from setup.py
setup.py test has been deprecated with pypa/setuptools#1684 and pypa/setuptools#1878 since setuptools v41.5.0
1 parent ba6e6b1 commit 2870031

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

setup.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
with open("README.md") as readme_file:
1717
long_description = readme_file.read()
1818

19-
tests_require = [
20-
"vcrpy>=1.10.3",
21-
]
22-
2319
setup(
2420
name="tweepy",
2521
version=version,
@@ -42,7 +38,6 @@
4238
"requests>=2.27.0,<3",
4339
"requests-oauthlib>=1.2.0,<2",
4440
],
45-
tests_require=tests_require,
4641
extras_require={
4742
"async": ["aiohttp>=3.7.3,<4"],
4843
"dev": [
@@ -51,7 +46,7 @@
5146
"tox>=3.21.0",
5247
],
5348
"socks": ["requests[socks]>=2.27.0,<3"],
54-
"test": tests_require,
49+
"test": ["vcrpy>=1.10.3"],
5550
},
5651
test_suite="tests",
5752
keywords="twitter library",

0 commit comments

Comments
 (0)