-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathhatch.toml
More file actions
65 lines (54 loc) · 1.38 KB
/
hatch.toml
File metadata and controls
65 lines (54 loc) · 1.38 KB
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
[version]
source = "vcs"
fallback-version = "0.0.1"
[version.raw-options]
version_scheme = "guess-next-dev"
local_scheme = "no-local-version"
[build.targets.sdist]
exclude = [
"/.github",
"/.venv",
"/dist",
]
[build.targets.sdist.force-include]
"gpustack_runtime/_version_appendix.py" = "gpustack_runtime/_version_appendix.py"
[build.targets.wheel]
macos-max-compat = true
packages = [ "gpustack_runtime" ]
[build.targets.wheel.force-include]
"gpustack_runtime/_version_appendix.py" = "gpustack_runtime/_version_appendix.py"
[build.hooks.vcs]
version-file = "gpustack_runtime/_version.py"
template = """
# Auto-generated file, do not edit.
__all__ = [
"__version__",
"version",
"__version_tuple__",
"version_tuple",
"__commit_id__",
"commit_id",
]
TYPE_CHECKING = False
if TYPE_CHECKING:
from typing import Tuple
from typing import Union
VERSION_TUPLE = Tuple[Union[int, str], ...]
COMMIT_ID = Union[str, None]
else:
VERSION_TUPLE = object
COMMIT_ID = object
__version__: str
version: str
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE
__commit_id__: COMMIT_ID
commit_id: COMMIT_ID
__version__ = version = {version!r}
__version_tuple__ = version_tuple = {version_tuple!r}
try:
from ._version_appendix import git_commit
__commit_id__ = commit_id = git_commit
except ImportError:
__commit_id__ = commit_id = None
"""