Skip to content

Commit 282a7c0

Browse files
committed
convert setup.cfg to pyproject.toml
Thank you https://pypi.org/project/ini2toml/ !
1 parent 1bcefb3 commit 282a7c0

File tree

2 files changed

+73
-64
lines changed

2 files changed

+73
-64
lines changed

pyproject.toml

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,75 @@
11
[build-system]
2-
requires = ["setuptools"]
2+
requires = ["setuptools>=61.2"]
33
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "cwl-utils"
7+
authors = [{name = "Common workflow language working group", email = "[email protected]"}]
8+
license = {text = "Apache 2.0"}
9+
classifiers = [
10+
"Environment :: Console",
11+
"Intended Audience :: Science/Research",
12+
"License :: OSI Approved :: Apache Software License",
13+
"Operating System :: POSIX",
14+
"Operating System :: MacOS :: MacOS X",
15+
"Programming Language :: Python :: 3.8",
16+
"Programming Language :: Python :: 3.9",
17+
"Programming Language :: Python :: 3.10",
18+
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
"Typing :: Typed",
21+
]
22+
requires-python = ">=3.8"
23+
dynamic = ["version", "dependencies"]
24+
25+
[project.readme]
26+
file = "README.rst"
27+
content-type = "text/x-rst"
28+
29+
[project.urls]
30+
Homepage = "https://github.com/common-workflow-language/cwl-utils"
31+
32+
[project.optional-dependencies]
33+
pretty = ["cwlformat"]
34+
testing = [
35+
"pytest<8",
36+
"pytest-mock",
37+
]
38+
39+
[project.scripts]
40+
cwl-cite-extract = "cwl_utils.cite_extract:main"
41+
cwl-docker-extract = "cwl_utils.docker_extract:main"
42+
cwl-expression-refactor = "cwl_utils.expression_refactor:main"
43+
cwl-graph-split = "cwl_utils.graph_split:main"
44+
cwl-normalizer = "cwl_utils.normalizer:main"
45+
46+
[tool.aliases]
47+
test = "pytest"
48+
49+
[tool.pytest.ini_options]
50+
testpaths = ["tests"]
51+
52+
[tool.setuptools]
53+
packages = [
54+
"cwl_utils",
55+
"cwl_utils.parser",
56+
"cwl_utils.tests",
57+
"cwl_utils.testdata",
58+
]
59+
include-package-data = true
60+
61+
[tool.setuptools.package-dir]
62+
"cwl_utils.parser" = "cwl_utils/parser"
63+
"cwl_utils.tests" = "tests"
64+
"cwl_utils.testdata" = "testdata"
65+
66+
[tool.setuptools.dynamic]
67+
version = {attr = "cwl_utils.__meta__.__version__"}
68+
dependencies = {file = ["requirements.txt"]}
69+
70+
[tool.isort]
71+
multi_line_output = "3"
72+
include_trailing_comma = "True"
73+
force_grid_wrap = "0"
74+
use_parentheses = "True"
75+
line_length = "88"

setup.cfg

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

0 commit comments

Comments
 (0)