-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
80 lines (72 loc) · 1.83 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
79
80
[build-system]
requires = [
"setuptools>=42",
"wheel",
"setuptools_scm[toml]>=3.4"
]
build-backend = "setuptools.build_meta"
[project]
name = "light_the_torch"
description = "Install PyTorch distributions with computation backend auto-detection"
readme = "README.md"
keywords = [
"pytorch",
"cuda",
"pip",
"install",
]
authors = [
{ name = "Philip Meier", email = "[email protected]" },
]
license = {text = "BSD-3-Clause"}
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: GPU :: NVIDIA CUDA",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"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",
"Topic :: System :: Installation/Setup",
"Topic :: Utilities",
]
requires-python = ">= 3.7"
dependencies = [
"pip >=22.3, <23.3",
"importlib_metadata ; python_version < '3.8'",
]
dynamic = ["version"]
[project.urls]
Tracker = "https://github.com/pmeier/light-the-torch/issues"
Source = "https://github.com/pmeier/light-the-torch"
[project.scripts]
ltt = "light_the_torch._cli:main"
[tool.setuptools.packages.find]
include = [
"light_the_torch",
]
[tool.setuptools_scm]
# See link below for available options
# https://github.com/pypa/setuptools_scm/#configuration-parameters
write_to = "light_the_torch/_version.py"
version_scheme = "release-branch-semver"
local_scheme = "node-and-timestamp"
[tool.black]
# See link below for available options
# https://github.com/psf/black#configuration-format
line-length = 88
target-version = ['py37']
exclude = '''
/(
\.git
| \.venv
| \.eggs
| \.mypy_cache
| \.pytest_cache
| \.tox
| __pycache__
)/
'''