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