Skip to content

Commit

Permalink
Drop setup.py test support (#3752)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov authored May 11, 2019
1 parent e6cbce3 commit 12b8e8c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,6 @@ def read(f):
return (here / f).read_text('utf-8').strip()


NEEDS_PYTEST = {'pytest', 'test'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if NEEDS_PYTEST else []

tests_require = [
'pytest', 'gunicorn',
'pytest-timeout', 'async-generator',
'pytest-xdist',
]


args = dict(
name='aiohttp',
version=version,
Expand Down Expand Up @@ -141,8 +131,6 @@ def read(f):
'cchardet',
],
},
tests_require=tests_require,
setup_requires=pytest_runner,
include_package_data=True,
ext_modules=extensions,
cmdclass=dict(build_ext=ve_build_ext),
Expand Down

0 comments on commit 12b8e8c

Please sign in to comment.