Skip to content

Commit 789176b

Browse files
committed
Update to use pyproject.toml only
1 parent adbb260 commit 789176b

4 files changed

Lines changed: 29 additions & 50 deletions

File tree

ignite/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@
55
import ignite.handlers
66
import ignite.metrics
77
import ignite.utils
8-
9-
__version__ = "0.6.0"

pyproject.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "pytorch-ignite"
7+
version = "0.6.0"
8+
authors = [
9+
{name = "PyTorch-Ignite Team", email = "contact@pytorch-ignite.ai"},
10+
]
11+
description = "A lightweight library to help with training neural networks in PyTorch."
12+
readme = "README.md"
13+
license = "BSD-3-Clause"
14+
license-files = ["LICENSE"]
15+
classifiers = [
16+
"Programming Language :: Python :: 3",
17+
]
18+
dependencies = [
19+
"torch>=1.3,<3",
20+
"packaging"
21+
]
22+
23+
[project.urls]
24+
Homepage = "https://pytorch-ignite.ai"
25+
Repository = "https://github.com/pytorch/ignite"
26+
27+
[tool.setuptools]
28+
packages = ["ignite"]
29+
130
[tool.black]
231
line-length = 120
332
target-version = ['py39', 'py311']

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[metadata]
2-
license_files = LICENSE
3-
41
[pycodestyle]
52
exclude = .eggs,*.egg,build,docs/*,.git,versioneer.py,*/conf.py
63
ignore = E402, E721

setup.py

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)