Merge "TC 088 and TC 089 gives error openstack command not found"
[yardstick.git] / setup.py
1 ##############################################################################
2 # Copyright (c) 2017 Ericsson AB and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 from __future__ import absolute_import
10 from setuptools import setup, find_packages
11
12
13 setup(
14     name="yardstick",
15     version="0.1.dev0",
16     packages=find_packages(),
17     include_package_data=True,
18     package_data={
19         'yardstick': [
20             'benchmark/scenarios/availability/*.yaml',
21             'benchmark/scenarios/availability/attacker/*.yaml',
22             'benchmark/scenarios/availability/ha_tools/*.bash',
23             'benchmark/scenarios/availability/ha_tools/*/*.bash',
24             'benchmark/scenarios/availability/attacker/scripts/*.bash',
25             'benchmark/scenarios/availability/monitor/*.yaml',
26             'benchmark/scenarios/availability/monitor/script_tools/*.bash',
27             'benchmark/scenarios/compute/*.bash',
28             'benchmark/scenarios/networking/*.bash',
29             'benchmark/scenarios/networking/*.txt',
30             'benchmark/scenarios/parser/*.sh',
31             'benchmark/scenarios/storage/*.bash',
32             'network_services/nfvi/collectd.conf',
33             'network_services/nfvi/collectd.sh',
34             'resources/files/*',
35             'resources/scripts/install/*.bash',
36             'resources/scripts/remove/*.bash',
37             'resources/templates/*.vat'
38         ],
39         'etc': [
40             'yardstick/nodes/*/*.yaml',
41             'yardstick/*.sample'
42         ],
43         'tests': [
44             'opnfv/*/*.yaml',
45             'ci/*.sh'
46         ]
47     },
48     url="https://www.opnfv.org",
49     extras_require={
50         'plot': ["matplotlib>=1.4.2"]
51     },
52     entry_points={
53         'console_scripts': [
54             'yardstick=yardstick.main:main',
55             'yardstick-plot=yardstick.plot.plotter:main [plot]'
56         ],
57         'yardstick.scenario': []
58     },
59     scripts=[
60         'tools/yardstick-img-modify',
61         'tools/yardstick-img-lxd-modify',
62         'tools/yardstick-img-dpdk-modify'
63     ]
64 )