add test's extra_require

pull/216/head
Gael Pasgrimaud 2 years ago
parent e5b884a366
commit 6173f6f8c8
  1. 3
      setup.py
  2. 9
      tox.ini

@ -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,

@ -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

Loading…
Cancel
Save