setup.py: Install test modules and config file

Another step in making avocado to run system wide
(and provide distro packages).
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 bfb0a7dc
import glob
from distutils.core import setup
import avocado.version
......@@ -14,4 +15,7 @@ setup(name='avocado',
'avocado.linux',
'avocado.utils',
'avocado.plugins'],
data_files=[('/etc/avocado', ['etc/settings.ini']),
('/usr/share/avocado/tests/sleeptest', glob.glob('tests/sleeptest/*')),
('/usr/share/avocado/tests/failtest', glob.glob('tests/failtest/*'))],
scripts=['scripts/avocado'])
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册