-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
44 lines (38 loc) · 1.2 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
[build-system]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "torch-cosine-annealing"
version = "0.1.3"
description = "Cosine annealing learning rate scheduler for PyTorch based on SGDR"
readme = "readme.md"
authors = [{ name = "Steve Immanuel", email = "[email protected]" }]
license = { file = "LICENSE" }
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
keywords = ["cosine-annealing", "sgdr", "torch", "scheduler"]
dependencies = [
"torch>=1.7.0",
]
requires-python = ">=3.8"
[project.optional-dependencies]
dev = ["pytest", "matplotlib", "bumpver"]
[project.urls]
Homepage = "https://github.com/SteveImmanuel/torch-cosine-annealing"
[tool.pytest.ini_options]
pythonpath = [
"src"
]
[tool.bumpver]
current_version = "0.1.3"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "Bump version {old_version} -> {new_version}"
commit = false
tag = false
push = false
[tool.bumpver.file_patterns]
"pyproject.toml" = ['current_version = "{version}"', 'version = "{version}"']
"src/torch_cosine_annealing/__init__.py" = ["{version}"]