sonic-yang-models: Specify test dependencies under extra_requires
Newer versions of pip/setuptools don't support test_requires, and the current standard is to specify any extra dependencies (such as those required for testing) under extra_requires. Therefore, specify the testing dependencies under extra_requires. These can be installed via pip using `pip install '.[testing]'`. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
This commit is contained in:
parent
b3e3c4cb2e
commit
3d554d344d
@ -69,6 +69,12 @@ setup(
|
|||||||
'pytest-runner',
|
'pytest-runner',
|
||||||
'wheel'
|
'wheel'
|
||||||
],
|
],
|
||||||
|
extras_require = {
|
||||||
|
"testing": [
|
||||||
|
'pytest',
|
||||||
|
'ijson==3.2.3'
|
||||||
|
],
|
||||||
|
},
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
keywords='sonic-yang-models',
|
keywords='sonic-yang-models',
|
||||||
name='sonic-yang-models',
|
name='sonic-yang-models',
|
||||||
|
Loading…
Reference in New Issue
Block a user