summaryrefslogtreecommitdiffstats
path: root/IntegrationTests/setup.py
blob: 84ba70348864f15dd1895e30cc501ea2410077f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import fnmatch
import os
from glob import glob
from setuptools import setup, find_packages

def get_compose_layout():
    matches = []
    for root, dirnames, filenames in os.walk('src/bkr/inttest/labcontroller/compose_layout'):
      for filename in fnmatch.filter(filenames, '*'):
          matches.append(os.path.join(root.replace('src/bkr/inttest/', ''), filename))
    return matches

setup(
    name='beaker-integration-tests',
    version='25.5',
    description='Integration tests for Beaker',
    author='Red Hat, Inc.',
    author_email='beaker-devel@lists.fedorahosted.org',
    url='https://beaker-project.org/',
    packages=find_packages('src'),
    package_dir={'': 'src'},
    package_data={'': [
        '*.xml',
        '*.ldif',
        'client/workflow_kickstart.cfg.tmpl',
        'client/.beaker_client/*',
        'labcontroller/install-failure-logs/*',
        'labcontroller/pxemenu-templates/*',
        'server/*.sql',
        'server/database-dumps/*.sql',
        'server/kickstarts/*',
        'server/mail-templates/*',
        'server/selenium/*.csv',
        'server/selenium/invalid-task_file',
        'server/task-rpms/*'] +
        get_compose_layout()
    },
    data_files=[
        ('beaker-integration-tests', ['motd.xml']),
    ],
    namespace_packages=['bkr'],
    install_requires=[
        'beaker-server',
        'beaker-client',
        'selenium',
    ],
)