Skip to content

Commit dde1b53

Browse files
committed
convert to pyproject.toml
Signed-off-by: Neil Johnson <[email protected]>
1 parent bbf8c70 commit dde1b53

File tree

2 files changed

+52
-62
lines changed

2 files changed

+52
-62
lines changed

pyproject.toml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
[build-system]
2+
requires = ["setuptools>=67", "versioningit>=2.2"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "tnz"
7+
dynamic = ["version"]
8+
description = "Telnet-3270 to Z tool and library"
9+
requires-python = ">=3.6"
10+
11+
[[project.authors]]
12+
name = "Neil Johnson"
13+
14+
[[project.authors]]
15+
16+
17+
[project.license]
18+
text = "Apache-2.0"
19+
20+
[project.optional-dependencies]
21+
full = ["ebcdic"]
22+
23+
[project.readme]
24+
file = "README.md"
25+
content-type = "text/markdown"
26+
27+
[project.scripts]
28+
zti = "tnz.zti:main"
29+
30+
[project.urls]
31+
documentation = "https://ibm.github.io/tnz"
32+
homepage = "https://github.com/IBM/tnz"
33+
issues = "https://github.com/IBM/tnz/issues"
34+
releasenotes = "https://github.com/IBM/tnz/releases/latest"
35+
source = "https://github.com/IBM/tnz"
36+
37+
[tool.setuptools]
38+
packages = ["tnz"]
39+
40+
[tool.setuptools.package-data]
41+
tnz = ["logging.json"]
42+
43+
[tool.versioningit.format]
44+
distance = "{next_version}-dev.{distance}+{vcs}{rev}"
45+
dirty = "{next_version}+dirty"
46+
distance-dirty = "{next_version}-dev.{distance}+{vcs}{rev}.dirty"
47+
48+
[tool.versioningit.next-version]
49+
method = "smallest"
50+
51+
[tool.versioningit.write]
52+
file = "tnz/_version.py"

setup.py

-62
This file was deleted.

0 commit comments

Comments
 (0)