blob: da4f6285040197b76746683ed855b4609e1be3dc [file] [log] [blame]
Alex Savatieiev30862b82019-02-28 17:27:49 -06001import glob
2import os
3
Alex3ebc5632019-04-18 16:47:18 -05004from setuptools import find_packages, setup
Alex Savatieiev30862b82019-02-28 17:27:49 -06005
6here = os.path.abspath(os.path.dirname(__file__))
7README = open(os.path.join(here, 'README.md')).read()
8
9DATA = [
10 ('etc', [f for f in glob.glob(os.path.join('etc', '*'))]),
11 ('templates', [f for f in glob.glob(os.path.join('templates', '*'))]),
Alexe9547d82019-06-03 15:22:50 -050012 ('scripts', [f for f in glob.glob(os.path.join('scripts', '*'))]),
13 ('versions', [f for f in glob.glob(os.path.join('versions', '*'))])
Alex Savatieiev30862b82019-02-28 17:27:49 -060014]
15
16dependencies = [
17 'six',
18 'pyyaml',
19 'jinja2',
20 'requests',
Alexb151fbe2019-04-22 16:53:30 -050021 'ipaddress',
Alexb78191f2021-11-02 16:35:46 -050022 'configparser',
23 'kubernetes',
24 'gevent',
25 'falcon'
Alex Savatieiev30862b82019-02-28 17:27:49 -060026]
27
28entry_points = {
Alex Savatieievc9055712019-03-01 14:43:56 -060029 "console_scripts": [
Alex265f45e2019-04-23 18:51:23 -050030 "mcp-checker = cfg_checker.cfg_check:config_check_entrypoint",
Alexd0391d42019-05-21 18:48:55 -050031 "mcp-pkg = cfg_checker.cli.packages:entrypoint",
32 "mcp-net = cfg_checker.cli.network:entrypoint",
Alexb78191f2021-11-02 16:35:46 -050033 "cmp-reclass = cfg_checker.cli.reclass:entrypoint",
34 "checker-agent = cfg_checker.agent.cfg_agent:entrypoint"
Alex Savatieievc9055712019-03-01 14:43:56 -060035 ]
Alex Savatieiev30862b82019-02-28 17:27:49 -060036}
37
38
39setup(
Alex836fac82019-08-22 13:36:16 -050040 name="mcp-checker",
Alex41dd0cc2022-02-09 17:33:23 -060041 version="0.68",
Alex Savatieiev30862b82019-02-28 17:27:49 -060042 author="Alex Savatieiev",
43 author_email="osavatieiev@mirantis.com",
44 classifiers=[
45 "Programming Language :: Python",
Alex7b0ee9a2021-09-21 17:16:17 -050046 "Programming Language :: Python :: 3.6"
Alex Savatieiev30862b82019-02-28 17:27:49 -060047 ],
Alex5cace3b2021-11-10 16:40:37 -060048 keywords="QA, openstack, kubernetes, salt, config, "
49 "reclass, networking, ceph",
Alex Savatieiev30862b82019-02-28 17:27:49 -060050 entry_points=entry_points,
51 url="",
52 packages=find_packages(),
53 include_package_data=True,
54 package_data={
55 '': ['*.conf', '*.env', '*.list', '*.html']
56 },
57 zip_safe=False,
58 install_requires=dependencies,
59 data_files=DATA,
60 license="Apache Licence, version 2",
Alex5cace3b2021-11-10 16:40:37 -060061 description="MCP/MCC/MOS Checker tool. "
62 "For use only on Mirantis product deployments",
Alex Savatieiev30862b82019-02-28 17:27:49 -060063 long_description=README
64)