add test's extra_require

pull/216/head
Gael Pasgrimaud 2021-03-08 16:49:21 +01:00
parent e5b884a366
commit 6173f6f8c8
2 changed files with 5 additions and 7 deletions

View File

@ -64,6 +64,9 @@ setup(name='pyquery',
packages=find_packages(exclude=[
'bootstrap', 'bootstrap-py3k', 'docs', 'tests', 'README_fixt'
]),
extras_require={
'test': ['requests', 'webob', 'webtest', 'pytest', 'pytest-cov'],
},
include_package_data=True,
zip_safe=False,
install_requires=install_requires,

View File

@ -7,15 +7,10 @@ whitelist_externals=
passenv=
MOZ_HEADLESS
commands =
rm -f .coverage
{envbindir}/pytest []
pytest []
deps =
py38: selenium
requests
WebOb>1.1.9
WebTest
pytest
pytest-cov
-e .[test]
[testenv:flake8]
skipsdist=true