setup.py 1.5 KB
Newer Older
1 2
# 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
3 4
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
5 6 7 8 9 10 11
#
# 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.
#
12
# Copyright: Red Hat Inc. 2013-2014
13 14
# Author: Lucas Meneghel Rodrigues <lmr@redhat.com>

15
import glob
16
# pylint: disable=E0611
17 18 19 20 21 22 23 24 25
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',
C
Cleber Rosa 已提交
26
      url='http://github.com/avocadoframework/avocado',
27 28
      packages=['avocado',
                'avocado.cli',
29 30
                'avocado.core',
                'avocado.linux',
R
Rudá Moura 已提交
31 32
                'avocado.utils',
                'avocado.plugins'],
33 34
      data_files=[('/etc/avocado', ['etc/settings.ini']),
                  ('/usr/share/avocado/tests/sleeptest', glob.glob('tests/sleeptest/*')),
35 36 37
                  ('/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'))],
38
      scripts=['scripts/avocado'])