forked from AI-Hypercomputer/xpk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
68 lines (59 loc) · 1.84 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
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[project]
name = "xpk"
dynamic = ["version"]
authors = [
{ name="Cloud TPU Team", email="[email protected]" },
]
description = "xpk helps Cloud developers to orchestrate training jobs on accelerators on GKE."
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
keywords = []
# pip dependencies installed with `pip install -e .`
dependencies = [
"cloud-accelerator-diagnostics"
]
[project.urls]
"Homepage" = "https://github.com/google/xpk"
"Bug Tracker" = "https://github.com/google/xpk/issues"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project.scripts]
xpk = "xpk.main:main"
[project.optional-dependencies]
# Development deps (unittest, linting, formating,...)
# Installed through `pip install .[dev]`
dev = [
"pyink==24.3.0",
"pylint>=2.6.0",
"pre-commit",
]
[tool.setuptools.dynamic]
version = {attr = "xpk.core.core.__version__"}
[tool.setuptools]
packages = ["xpk", "xpk.parser", "xpk.core", "xpk.commands"]
package-dir = {"" = "src"}
[tool.pyink]
# Formatting configuration to follow Google style-guide.
line-length = 80
unstable = true
pyink-indentation = 2
pyink-use-majority-quotes = true