Skip to content

Commit 7286f59

Browse files
committed
convert setup.cfg to pyproject.toml
Thank you https://pypi.org/project/ini2toml/ !
1 parent 555a5b5 commit 7286f59

File tree

2 files changed

+64
-56
lines changed

2 files changed

+64
-56
lines changed

pyproject.toml

Lines changed: 64 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,71 @@
11
[build-system]
22
requires = [
3-
"setuptools>=45",
4-
"setuptools_scm[toml]>=8.0.4,<9",
3+
"setuptools>=61.2",
4+
"setuptools_scm>=8.0.4,<9",
55
]
66
build-backend = "setuptools.build_meta"
77

8+
[project]
9+
name = "cwltest"
10+
authors = [{name = "Common workflow language working group", email = "common-workflow-language@googlegroups.com"}]
11+
license = {text = "Apache 2.0"}
12+
description = "Common Workflow Language testing framework"
13+
classifiers = [
14+
"Environment :: Console",
15+
"Framework :: Pytest",
16+
"License :: OSI Approved :: Apache Software License",
17+
"Operating System :: POSIX",
18+
"Operating System :: MacOS :: MacOS X",
19+
"Development Status :: 5 - Production/Stable",
20+
"Programming Language :: Python :: 3.8",
21+
"Programming Language :: Python :: 3.9",
22+
"Programming Language :: Python :: 3.10",
23+
"Programming Language :: Python :: 3.11",
24+
"Programming Language :: Python :: 3.12",
25+
"Typing :: Typed",
26+
]
27+
requires-python = ">=3.8,<3.13"
28+
dynamic = ["version", "dependencies"]
29+
30+
[project.readme]
31+
file = "README.rst"
32+
content-type = "text/x-rst"
33+
34+
[project.urls]
35+
Homepage = "https://github.com/common-workflow-language/cwltest"
36+
Download = "https://github.com/common-workflow-language/cwltest"
37+
38+
[project.entry-points.pytest11]
39+
cwl = "cwltest.plugin"
40+
41+
[project.optional-dependencies]
42+
pytest-plugin = ["pytest"]
43+
44+
[project.scripts]
45+
cwltest = "cwltest.main:main"
46+
47+
[tool.aliases]
48+
test = "pytest"
49+
50+
[tool.setuptools]
51+
package-dir = {"cwltest.tests" = "tests"}
52+
packages = ["cwltest", "cwltest.tests"]
53+
zip-safe = true
54+
include-package-data = true
55+
56+
[tool.setuptools.package-data]
57+
cwltest = ["py.typed"]
58+
tests = ["test-data/*"]
59+
60+
[tool.setuptools.dynamic]
61+
dependencies = {file = ["requirements.txt"]}
62+
63+
[tool.isort]
64+
multi_line_output = "3"
65+
include_trailing_comma = "True"
66+
force_grid_wrap = "0"
67+
use_parentheses = "True"
68+
line_length = "88"
69+
870
[tool.setuptools_scm]
971
write_to = "cwltest/_version.py"

setup.cfg

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

0 commit comments

Comments
 (0)