mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add tests_require
to the setup arguments.
This commit is contained in:
parent
e772f0d8b6
commit
3550397b0c
1 changed files with 5 additions and 1 deletions
6
setup.py
6
setup.py
|
@ -45,7 +45,7 @@ if with_setuptools is False:
|
|||
from distutils.core import setup
|
||||
warnings.filterwarnings(
|
||||
'ignore',
|
||||
'Unknown distribution option: \'(install_requires|zip_safe)\'',
|
||||
'Unknown distribution option: \'(tests_require|install_requires|zip_safe)\'',
|
||||
UserWarning,
|
||||
'distutils.dist'
|
||||
)
|
||||
|
@ -233,6 +233,10 @@ setup_kwargs = {'name': NAME,
|
|||
],
|
||||
# Required for esky builds
|
||||
'install_requires': requirements,
|
||||
# Required for running the tests suite
|
||||
'tests_require': [
|
||||
'git+https://github.com/s0undt3ch/salt-testing.git#egg=SaltTesting'
|
||||
],
|
||||
# The dynamic module loading in salt.modules makes this
|
||||
# package zip unsafe. Required for esky builds
|
||||
'zip_safe': False
|
||||
|
|
Loading…
Add table
Reference in a new issue