forked from dnth/x.infer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (63 loc) · 1.71 KB
/
pyproject.toml
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
[project]
name = "xinfer"
version = "0.1.3"
dynamic = [
"dependencies",
]
description = "A unified interface to run inference on machine learning libraries."
readme = "README.md"
requires-python = ">=3.10"
keywords = [
"xinfer",
]
license = {text = "Apache Software License 2.0"}
authors = [
{name = "Dickson Neoh", email = "[email protected]"},
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[project.entry-points."console_scripts"]
xinfer = "xinfer.cli:main"
[project.optional-dependencies]
timm = ["timm"]
ultralytics = ["ultralytics"]
transformers = ["transformers", "accelerate"]
vllm = ["vllm"]
ollama = ["ollama"]
all = ["timm", "ultralytics", "transformers", "vllm", "ollama", "accelerate"]
[tool]
[tool.setuptools.packages.find]
include = ["xinfer*"]
exclude = ["docs*"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.distutils.bdist_wheel]
universal = true
[tool.bumpversion]
current_version = "0.1.3"
commit = true
tag = true
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "xinfer/__init__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'
[tool.flake8]
exclude = [
"docs",
]
max-line-length = 88
[project.urls]
Homepage = "https://github.com/dnth/xinfer"
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"