mirror of
https://github.com/beetbox/beets.git
synced 2026-01-07 00:15:20 +01:00
deprecate tests_require in favor of extras
This commit is contained in:
parent
aedd77317f
commit
723e04ebb3
1 changed files with 26 additions and 17 deletions
43
setup.py
43
setup.py
|
|
@ -109,24 +109,33 @@ setup(
|
|||
['colorama'] if (sys.platform == 'win32') else []
|
||||
),
|
||||
|
||||
tests_require=[
|
||||
'beautifulsoup4',
|
||||
'flask',
|
||||
'mock',
|
||||
'pylast',
|
||||
'rarfile',
|
||||
'responses',
|
||||
'pyxdg',
|
||||
'python-mpd2',
|
||||
'discogs-client',
|
||||
'requests_oauthlib'
|
||||
] + (
|
||||
# Tests for the thumbnails plugin need pathlib on Python 2 too.
|
||||
['pathlib'] if (sys.version_info < (3, 4, 0)) else []
|
||||
),
|
||||
|
||||
# Plugin (optional) dependencies:
|
||||
extras_require={
|
||||
'test': [
|
||||
'beautifulsoup4',
|
||||
'coverage',
|
||||
'discogs-client',
|
||||
'flask',
|
||||
'mock',
|
||||
'pylast',
|
||||
'pytest',
|
||||
'python-mpd2',
|
||||
'pyxdg',
|
||||
'rarfile',
|
||||
'responses>=0.3.0',
|
||||
'requests_oauthlib',
|
||||
] + (
|
||||
# Tests for the thumbnails plugin need pathlib on Python 2 too.
|
||||
['pathlib'] if (sys.version_info < (3, 4, 0)) else []
|
||||
),
|
||||
'lint': [
|
||||
'flake8',
|
||||
'flake8-blind-except',
|
||||
'flake8-coding',
|
||||
'flake8-future-import',
|
||||
'pep8-naming',
|
||||
],
|
||||
|
||||
# Plugin (optional) dependencies:
|
||||
'absubmit': ['requests'],
|
||||
'fetchart': ['requests', 'Pillow'],
|
||||
'embedart': ['Pillow'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue