-
Notifications
You must be signed in to change notification settings - Fork 45
/
setup.py
63 lines (61 loc) · 1.99 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
# SPDX-License-Identifier: GPL-3.0-or-later
from setuptools import find_packages, setup
GEMLOCK_PARSER_REPO_URL = "https://github.com/containerbuildsystem/gemlock-parser.git"
GEMLOCK_PARSER_PIP_REF = f"git+{GEMLOCK_PARSER_REPO_URL}@master#egg=gemlock_parser"
setup(
name="cachito",
long_description=__doc__,
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=[
"backoff",
"celery>=5",
f"gemlock_parser @ {GEMLOCK_PARSER_PIP_REF}",
"gitpython",
"kombu>=5", # A celery dependency but it's directly imported
"packaging",
"pyarn",
"pydantic",
"requests_kerberos",
"requests",
"semver",
"setuptools",
"opentelemetry-sdk",
"opentelemetry-instrumentation-celery",
"opentelemetry-instrumentation-requests",
"opentelemetry-exporter-jaeger",
"opentelemetry-exporter-otlp-proto-http",
],
extras_require={
"web": [
"Flask",
"flask-login",
"Flask-Migrate",
"Flask-SQLAlchemy",
"psycopg2-binary",
"prometheus-flask-exporter",
"opentelemetry-instrumentation-sqlalchemy",
],
},
entry_points={
"console_scripts": [
"cachito=cachito.web.manage:cli",
"cachito-cleanup=cachito.workers.cleanup_job:main",
"cachito-prune-archives=cachito.workers.prune_archives:app",
"cachito-update-nexus-scripts=cachito.workers.nexus:create_or_update_scripts",
]
},
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
],
license="GPLv3+",
python_requires=">=3.11",
use_scm_version={
"version_scheme": "post-release",
},
setup_requires=["setuptools_scm"],
scripts=["bin/pip_find_builddeps.py"],
)