setup.py 1.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; specifically version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# See LICENSE for more details.
#
# Copyright: RedHat 2013-2014
# Author: Lucas Meneghel Rodrigues <lmr@redhat.com>

14
import glob
15 16 17 18 19 20 21 22 23 24 25 26
from distutils.core import setup

import avocado.version

setup(name='avocado',
      version=avocado.version.VERSION,
      description='Avocado Test Framework',
      author='Lucas Meneghel Rodrigues',
      author_email='lmr@redhat.com',
      url='http://autotest.github.com',
      packages=['avocado',
                'avocado.cli',
27 28
                'avocado.core',
                'avocado.linux',
R
Rudá Moura 已提交
29 30
                'avocado.utils',
                'avocado.plugins'],
31 32
      data_files=[('/etc/avocado', ['etc/settings.ini']),
                  ('/usr/share/avocado/tests/sleeptest', glob.glob('tests/sleeptest/*')),
33 34 35
                  ('/usr/share/avocado/tests/failtest', glob.glob('tests/failtest/*')),
                  ('/usr/share/avocado/tests/synctest', glob.glob('tests/synctest/synctest.py')),
                  ('/usr/share/avocado/tests/synctest/deps', glob.glob('tests/synctest/deps/synctest.tar.bz2'))],
36
      scripts=['scripts/avocado'])