forked from iterative/gto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
74 lines (67 loc) · 2.19 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
from pathlib import Path
from setuptools import find_packages, setup
install_requires = [
"gitpython",
"typer>=0.4.1",
"rich",
"pydantic>=1.9.0,<2",
"ruamel.yaml",
"semver>=3.0.0",
"entrypoints",
"tabulate>=0.8.10",
"funcy",
]
tests = [
"pytest",
"pytest-cov",
"pytest-lazy-fixture==0.6.3",
"pytest-mock",
"pylint<2.14",
# we use this to suppress pytest-related false positives in our tests.
"pylint-pytest",
# we use this to suppress some messages in tests, eg: foo/bar naming,
# and, protected method calls in our tests
"pylint-plugin-utils",
"freezegun",
"types-freezegun",
]
setup_args = dict( # noqa: C408
name="gto",
use_scm_version=True,
setup_requires=["setuptools_scm", "fastentrypoints>=0.12"],
description="Version and deploy your models following GitOps principles",
long_description=(Path(__file__).parent / "README.md").read_text(encoding="utf8"),
long_description_content_type="text/markdown",
author="Alexander Guschin",
author_email="[email protected]",
download_url="https://github.com/iterative/gto",
license="Apache License 2.0",
install_requires=install_requires,
extras_require={"tests": tests},
keywords="git repo repository artifact registry developer-tools collaboration",
python_requires=">=3.6",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
packages=find_packages(exclude=["tests"]),
include_package_data=True,
entry_points={
"console_scripts": ["gto = gto.cli:app"],
"gto.enrichment": [
# "mlem = gto.ext_mlem:MlemEnrichment",
# "dvc = gto.ext_dvc:DVCEnrichment",
# "cli = gto.ext:CLIEnrichment",
"gto = gto.index:GTOEnrichment",
],
},
zip_safe=False,
)
if __name__ == "__main__":
setup(**setup_args)