Example #1
0
from distutils.core import setup
import os, sys

try:
    import autotest.common as common
except ImportError:
    import common

from autotest.client.shared import version

# Mostly needed when called one level up
mirror_dir = os.path.dirname(sys.modules[__name__].__file__) or '.'
autotest_dir = os.path.abspath(os.path.join(mirror_dir, ".."))

setup(
    name='autotest',
    description='Autotest testing framework - mirror module',
    author='Autotest Team',
    author_email='*****@*****.**',
    version=version.get_git_version(),
    url='autotest.kernel.org',
    package_dir={'autotest.mirror': mirror_dir},
    packages=['autotest.mirror'],
    data_files=[('share/autotest/mirror', [mirror_dir + '/mirror'])],
)
Example #2
0
    import autotest.common as common
except ImportError:
    import common

from autotest.client.shared import version

# Mostly needed when called one level up
tko_dir = os.path.dirname(sys.modules[__name__].__file__) or '.'

# TODO: add some toplevel non-python files

setup(name='autotest',
      description='Autotest testing framework - tko module',
      author='Autotest Team',
      author_email='*****@*****.**',
      version=version.get_git_version(),
      url='autotest.kernel.org',
      package_dir={'autotest.tko': tko_dir },
      package_data={'autotest.tko' : ['*.cgi',
                                     ],
                   },
      packages=['autotest.tko.migrations',
                'autotest.tko.parsers',
                'autotest.tko.parsers.test',
                'autotest.tko.parsers.test.templates',
                'autotest.tko',
               ],
      data_files=[('share/autotest/tko', [ tko_dir + '/blank.gif',
                                           tko_dir + '/draw_graphs',
                                           tko_dir + '/machine_load',
                                           tko_dir + '/parse',