@@ -6,6 +6,53 @@ requires = [
6
6
]
7
7
build-backend = " setuptools.build_meta"
8
8
9
+ [project ]
10
+ name = " light_the_torch"
11
+ description = " Install PyTorch distributions with computation backend auto-detection"
12
+ readme = " README.md"
13
+ keywords = [
14
+ " pytorch" ,
15
+ " cuda" ,
16
+ " pip" ,
17
+ " install" ,
18
+ ]
19
+ authors = [
20
+ {
name =
" Philip Meier" ,
email =
" [email protected] " },
21
+ ]
22
+ license = {text = " BSD-3-Clause" }
23
+ classifiers = [
24
+ " Development Status :: 4 - Beta" ,
25
+ " Environment :: Console" ,
26
+ " Environment :: GPU :: NVIDIA CUDA" ,
27
+ " Intended Audience :: Developers" ,
28
+ " License :: OSI Approved :: BSD License" ,
29
+ " Programming Language :: Python :: 3.7" ,
30
+ " Programming Language :: Python :: 3.8" ,
31
+ " Programming Language :: Python :: 3.9" ,
32
+ " Programming Language :: Python :: 3.10" ,
33
+ " Programming Language :: Python :: 3.11" ,
34
+ " Topic :: System :: Installation/Setup" ,
35
+ " Topic :: Utilities" ,
36
+ ]
37
+ requires-python = " >= 3.7"
38
+ dependencies = [
39
+ " pip >=22.3, <23.2" ,
40
+ " importlib_metadata ; python_version < '3.8'" ,
41
+ ]
42
+ dynamic = [" version" ]
43
+
44
+ [project .urls ]
45
+ Tracker = " https://github.com/pmeier/light-the-torch/issues"
46
+ Source = " https://github.com/pmeier/light-the-torch"
47
+
48
+ [project .scripts ]
49
+ ltt = " light_the_torch._cli:main"
50
+
51
+ [tool .setuptools .packages .find ]
52
+ include = [
53
+ " light_the_torch" ,
54
+ ]
55
+
9
56
[tool .setuptools_scm ]
10
57
# See link below for available options
11
58
# https://github.com/pypa/setuptools_scm/#configuration-parameters
@@ -14,35 +61,12 @@ write_to = "light_the_torch/_version.py"
14
61
version_scheme = " release-branch-semver"
15
62
local_scheme = " node-and-timestamp"
16
63
17
- [tool .isort ]
18
- # See link below for available options
19
- # https://github.com/timothycrosley/isort/wiki/isort-Settings#full-reference-of-isort-settings
20
-
21
- skip = [
22
- " .git" ,
23
- " .venv" ,
24
- " .eggs" ,
25
- " .mypy_cache" ,
26
- " .pytest_cache" ,
27
- " .tox" ,
28
- " __pycache__" ,
29
- " light_the_torch/__init__.py" ,
30
- ]
31
- line_length = 88
32
- use_parentheses = true
33
- multi_line_output = 3
34
- force_grid_wrap = 0
35
- include_trailing_comma = true
36
-
37
- known_third_party = [" pytest" , " setuptools_scm" , " toml" ]
38
- known_first_party = [" light_the_torch" ]
39
-
40
64
[tool .black ]
41
65
# See link below for available options
42
66
# https://github.com/psf/black#configuration-format
43
67
44
68
line-length = 88
45
- target-version = [' py36 ' , ' py37 ' , ' py38 ' ]
69
+ target-version = [' py37 ' , ' py38 ' , ' py39 ' , ' py310 ' , ' py311 ' ]
46
70
exclude = '''
47
71
/(
48
72
\.git
0 commit comments