forked from kernelci/kcidb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
107 lines (104 loc) · 4.03 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#!/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
# Ignore long lines with generated package URLs
# flake8: noqa
with open("README.md", "r", encoding='utf8') as fh:
LONG_DESCRIPTION = fh.read()
setuptools.setup(
name="kcidb",
version="10",
python_requires=">=3.9",
author="kernelci.org",
author_email="[email protected]",
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.9",
"Topic :: Database :: Front-Ends",
],
# Must match requirements.txt.
# Let's make that easier, pylint: disable=line-too-long
install_requires=[
"google-cloud-bigquery",
"google-cloud-pubsub",
"google-cloud-storage",
"functions-framework",
"google-cloud-firestore",
"google-cloud-secret-manager",
"google-cloud-logging",
"flask",
"psycopg2",
"jsonschema[format]",
"requests",
"pyyaml",
"jinja2",
"python-dateutil",
"cached-property",
"kcidb-io@git+https://github.com/kernelci/kcidb-io.git",
"jq@git+https://github.com/kernelci/[email protected]",
],
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-count = kcidb:count_main",
"kcidb-merge = kcidb:merge_main",
"kcidb-submit = kcidb:submit_main",
"kcidb-query = kcidb:query_main",
"kcidb-notify = kcidb:notify_main",
"kcidb-ingest = kcidb:ingest_main",
"kcidb-db-schemas = kcidb.db:schemas_main",
"kcidb-db-init = kcidb.db:init_main",
"kcidb-db-upgrade = kcidb.db:upgrade_main",
"kcidb-db-cleanup = kcidb.db:cleanup_main",
"kcidb-db-empty = kcidb.db:empty_main",
"kcidb-db-purge = kcidb.db:purge_main",
"kcidb-db-load = kcidb.db:load_main",
"kcidb-db-dump = kcidb.db:dump_main",
"kcidb-db-query = kcidb.db:query_main",
"kcidb-db-time = kcidb.db:time_main",
"kcidb-mq-email-publisher = kcidb.mq:email_publisher_main",
"kcidb-mq-email-subscriber = kcidb.mq:email_subscriber_main",
"kcidb-mq-io-publisher = kcidb.mq:io_publisher_main",
"kcidb-mq-io-subscriber = kcidb.mq:io_subscriber_main",
"kcidb-mq-pattern-publisher = kcidb.mq:pattern_publisher_main",
"kcidb-mq-pattern-subscriber = kcidb.mq:pattern_subscriber_main",
"kcidb-oo-query = kcidb.oo:query_main",
"kcidb-tests-validate = kcidb.tests:validate_main",
"kcidb-monitor-spool-wipe = kcidb.monitor.spool:wipe_main",
]
),
package_data={
"": ["**/*.j2"]
},
)