Commit 56718dcf authored by Jérome Perrin's avatar Jérome Perrin

erp5.util: declare a [test] extra for test dependencies

test_suite and tests_require are for the deprecated `setup.py test`
command that we no longer use.
parent 3ea8d425
...@@ -57,6 +57,12 @@ setup(name=name, ...@@ -57,6 +57,12 @@ setup(name=name,
'benchmark': benchmark_install_require_list, 'benchmark': benchmark_install_require_list,
'benchmark-report': [name+'[benchmark]', 'matplotlib', 'numpy'], 'benchmark-report': [name+'[benchmark]', 'matplotlib', 'numpy'],
'zodbanalyse': ['ZODB'], 'zodbanalyse': ['ZODB'],
'test': [
'mock; python_version < "3"',
'psutil >= 0.5.0',
'slapos.core',
'xml_marshaller',
]
}, },
zip_safe=True, zip_safe=True,
packages=package_list, packages=package_list,
...@@ -75,13 +81,6 @@ setup(name=name, ...@@ -75,13 +81,6 @@ setup(name=name,
'web_checker_utility = erp5.util.webchecker:web_checker_utility' 'web_checker_utility = erp5.util.webchecker:web_checker_utility'
], ],
}, },
test_suite='erp5.tests',
tests_require=[
'slapos.core',
'xml_marshaller',
'psutil >= 0.5.0',
'mock; python_version < "3"',
],
) )
# cleanup garbage # cleanup garbage
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment