blob: 42ca20f8ddcfd8eb1360f82052fbdf16956948a5 [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', '*'))]),
Alex3ebc5632019-04-18 16:47:18 -050012 # ('res', [f for f in glob.glob(os.path.join('res', '*'))])
Alex Savatieiev30862b82019-02-28 17:27:49 -060013]
14
15dependencies = [
16 'six',
17 'pyyaml',
18 'jinja2',
19 'requests',
Alexb151fbe2019-04-22 16:53:30 -050020 'ipaddress',
21 'configparser'
Alex Savatieiev30862b82019-02-28 17:27:49 -060022]
23
24entry_points = {
Alex Savatieievc9055712019-03-01 14:43:56 -060025 "console_scripts": [
26 "mcp-checker = cfg_checker.cfg_check:cli_main",
27 "package-report = cfg_checker.cli.package",
28 "network-check = cfg_checker.cli.network",
29 "reclass-compare = cfg_checker.cli.reclass"
30 ]
Alex Savatieiev30862b82019-02-28 17:27:49 -060031}
32
33
34setup(
35 name="Mirantis Cloud Configuration Checker",
36 version="0.1",
37 author="Alex Savatieiev",
38 author_email="osavatieiev@mirantis.com",
39 classifiers=[
40 "Programming Language :: Python",
41 "Programming Language :: Python :: 2.7"
42 ],
43 keywords="QA, openstack, salt, config, reclass",
44 entry_points=entry_points,
45 url="",
46 packages=find_packages(),
47 include_package_data=True,
48 package_data={
49 '': ['*.conf', '*.env', '*.list', '*.html']
50 },
51 zip_safe=False,
52 install_requires=dependencies,
53 data_files=DATA,
54 license="Apache Licence, version 2",
55 description="MCP Checker tool. For best results use on MCP deployments",
56 long_description=README
57)