forked from kernelci/kcidb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
84 lines (82 loc) · 3.1 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/usr/bin/env python3
# Copyright (c) 2018 Red Hat, Inc. All rights reserved. This copyrighted
# material is made available to anyone wishing to use, modify, copy, or
# redistribute it subject to the terms and conditions of the GNU General
# Public License v.2 or later.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
"""Install kcidb using setuptools."""
import setuptools
with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
setuptools.setup(
name="kcidb",
version="5",
python_requires=">=3.6",
author="kernelci.org",
author_email="kernelci@groups.io",
description="KCIDB = Linux Kernel CI reporting tools",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/kernelci/kcidb",
packages=setuptools.find_packages(),
classifiers=[
"Development Status :: 1 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GPLv2+",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Topic :: Database :: Front-Ends",
],
install_requires=[
"google-cloud-bigquery",
"google-cloud-pubsub",
"google-cloud-firestore",
"jsonschema",
"requests",
"pyyaml",
"jinja2",
],
extras_require=dict(
dev=[
"flake8",
"pylint",
"yamllint",
"pytest",
],
),
entry_points=dict(
console_scripts=[
"kcidb-schema = kcidb:schema_main",
"kcidb-validate = kcidb:validate_main",
"kcidb-upgrade = kcidb:upgrade_main",
"kcidb-submit = kcidb:submit_main",
"kcidb-query = kcidb:query_main",
"kcidb-summarize = kcidb:summarize_main",
"kcidb-describe = kcidb:describe_main",
"kcidb-db-init = kcidb.db:init_main",
"kcidb-db-cleanup = kcidb.db:cleanup_main",
"kcidb-db-load = kcidb.db:load_main",
"kcidb-db-dump = kcidb.db:dump_main",
"kcidb-db-query = kcidb.db:query_main",
"kcidb-db-complement = kcidb.db:complement_main",
"kcidb-mq-publisher-init = kcidb.mq:publisher_init_main",
"kcidb-mq-publisher-cleanup = kcidb.mq:publisher_cleanup_main",
"kcidb-mq-publisher-publish = kcidb.mq:publisher_publish_main",
"kcidb-mq-subscriber-init = kcidb.mq:subscriber_init_main",
"kcidb-mq-subscriber-cleanup = kcidb.mq:subscriber_cleanup_main",
"kcidb-mq-subscriber-pull = kcidb.mq:subscriber_pull_main",
"kcidb-tests-validate = kcidb.tests:validate_main",
]
),
package_data={
"": ["*.j2"],
},
)