forked from containerbuildsystem/cachito
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (52 loc) · 1.47 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
# SPDX-License-Identifier: GPL-3.0-or-later
from setuptools import find_packages, setup
setup(
name="cachito",
long_description=__doc__,
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=[
"backoff",
"celery>=5",
"gemlock_parser",
"gitpython",
"kombu>=5", # A celery dependency but it's directly imported
"packaging",
"pyarn",
"requests_kerberos",
"requests",
"semver",
"setuptools",
],
extras_require={
"web": [
"Flask",
"flask-login",
"Flask-Migrate",
"Flask-SQLAlchemy",
"psycopg2-binary",
"prometheus-flask-exporter",
"pydantic",
],
},
entry_points={
"console_scripts": [
"cachito=cachito.web.manage:cli",
"cachito-cleanup=cachito.workers.cleanup_job:main",
"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.10",
],
license="GPLv3+",
python_requires=">=3.10",
setup_requires=['setuptools-git-versioning'],
setuptools_git_versioning={
"enabled": True,
"dev_template": "{tag}.post{ccount}+git.{sha}",
},
)