Commit 87394b7e authored by Jérome Perrin's avatar Jérome Perrin

setup: declare test dependences with extras_require

Only setup.py test understands tests_require
parent de5e5d50
Pipeline #7968 passed with stage
in 0 seconds
...@@ -5,6 +5,13 @@ name = "slapos.rebootstrap" ...@@ -5,6 +5,13 @@ name = "slapos.rebootstrap"
long_description = open("README.rst").read() + '\n\n' long_description = open("README.rst").read() + '\n\n'
long_description += open("CHANGELOG.rst").read() long_description += open("CHANGELOG.rst").read()
extras_require = {
'test': [
'zope.testing',
'manuel',
]
}
setup( setup(
name=name, name=name,
version=version, version=version,
...@@ -38,9 +45,7 @@ setup( ...@@ -38,9 +45,7 @@ setup(
'setuptools', 'setuptools',
'zc.buildout >=2.7.1+slapos001, <2.7.2', 'zc.buildout >=2.7.1+slapos001, <2.7.2',
], ],
tests_require=[ extras_require=extras_require,
'zope.testing', tests_require=extras_require['test'],
'manuel'
],
test_suite='%s.tests.test_suite' % name, test_suite='%s.tests.test_suite' % name,
) )
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