mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Use extras_require so pip can install test dependencies
https://github.com/pypa/pip/issues/1197#issuecomment-228939212
This commit is contained in:
parent
69b3a6c7dd
commit
7d7f5f61fd
1 changed files with 8 additions and 3 deletions
11
setup.py
11
setup.py
|
|
@ -47,10 +47,15 @@ setup(
|
|||
datasette=datasette.cli:cli
|
||||
''',
|
||||
setup_requires=['pytest-runner'],
|
||||
extras_require={
|
||||
'test': [
|
||||
'pytest==3.6.0',
|
||||
'aiohttp==2.3.2',
|
||||
'beautifulsoup4==4.6.0',
|
||||
]
|
||||
},
|
||||
tests_require=[
|
||||
'pytest==3.6.0',
|
||||
'aiohttp==2.3.2',
|
||||
'beautifulsoup4==4.6.0',
|
||||
'datasette[test]',
|
||||
],
|
||||
classifiers=[
|
||||
'Development Status :: 4 - Beta',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue