Skip to content

Commit 2f530e8

Browse files
committed
convert almost all of setup.cfg to pyproject.toml using ini2toml.
1 parent 143923e commit 2f530e8

File tree

2 files changed

+51
-50
lines changed

2 files changed

+51
-50
lines changed

pyproject.toml

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,53 @@
11
[build-system]
2-
requires = [
3-
"setuptools >= 46.4.0"
4-
]
2+
requires = ["setuptools>=61.2"]
53
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "runcrate"
7+
description = "Workflow Run RO-Crate toolkit"
8+
keywords = ["ro-crate", "workflow", "provenance", "CWL", "CommonWL"]
9+
classifiers = [
10+
"Development Status :: 2 - Pre-Alpha",
11+
"License :: OSI Approved :: Apache Software License",
12+
"Intended Audience :: Developers",
13+
"Intended Audience :: Science/Research",
14+
"Operating System :: MacOS :: MacOS X",
15+
"Operating System :: POSIX :: Linux",
16+
"Programming Language :: Python :: 3.8",
17+
"Programming Language :: Python :: 3.9",
18+
"Programming Language :: Python :: 3.10",
19+
]
20+
authors = [{name = "CRS4", email = "[email protected]"}, {name = "RO-Crate community"}]
21+
requires-python = ">=3.8, <4"
22+
dependencies = [
23+
"bdbag>=1.4.1",
24+
"click~=8.1",
25+
"cwl-utils==0.33",
26+
"cwlprov==0.1.1",
27+
"networkx==3.1",
28+
"prov>=1.5.1",
29+
"rocrate>=0.9,<1",
30+
]
31+
dynamic = ["version"]
32+
33+
[project.readme]
34+
text = "Runcrate is a software toolkit to manipulate `Workflow Run RO-Crate <https://www.researchobject.org/workflow-run-crate/>`_ packages. Documentation is at http://www.researchobject.org/runcrate/."
35+
content-type = "text/x-rst"
36+
37+
[project.urls]
38+
Homepage = "https://github.com/ResearchObject/runcrate"
39+
40+
[project.scripts]
41+
runcrate = "runcrate.cli:cli"
42+
43+
[tool.setuptools]
44+
zip-safe = false
45+
include-package-data = true
46+
package-dir = {"" = "src"}
47+
48+
[tool.setuptools.packages.find]
49+
where = ["src"]
50+
namespaces = false
51+
52+
[tool.setuptools.dynamic]
53+
version = {attr = "runcrate.__version__"}

setup.cfg

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,2 @@
1-
[metadata]
2-
name = runcrate
3-
version = attr: runcrate.__version__
4-
license = Apache License, version 2.0 (Apache-2.0)
5-
description = Workflow Run RO-Crate toolkit
6-
long_description = Runcrate is a software toolkit to manipulate `Workflow Run RO-Crate <https://www.researchobject.org/workflow-run-crate/>`_ packages. Documentation is at http://www.researchobject.org/runcrate/.
7-
long_description_content_type = text/x-rst
8-
keywords = ro-crate, workflow, provenance, CWL
9-
classifiers =
10-
Development Status :: 2 - Pre-Alpha
11-
License :: OSI Approved :: Apache Software License
12-
Intended Audience :: Developers
13-
Intended Audience :: Science/Research
14-
Operating System :: MacOS :: MacOS X
15-
Operating System :: POSIX :: Linux
16-
Programming Language :: Python :: 3.8
17-
Programming Language :: Python :: 3.9
18-
Programming Language :: Python :: 3.10
19-
author = CRS4, RO-Crate community
20-
author_email = [email protected]
21-
url = https://github.com/ResearchObject/runcrate
22-
23-
[options]
24-
zip_safe=False
25-
include_package_data=True
26-
packages=find:
27-
package_dir=
28-
=src
29-
30-
python_requires=>=3.8, <4
31-
32-
install_requires=
33-
bdbag>=1.4.1
34-
click~=8.1
35-
cwl-utils==0.33
36-
cwlprov==0.1.1
37-
networkx==3.1
38-
prov>=1.5.1
39-
rocrate>=0.9,<1
40-
41-
[options.entry_points]
42-
console_scripts=
43-
runcrate=runcrate.cli:cli
44-
45-
[options.packages.find]
46-
where=src
47-
481
[flake8]
492
ignore = E501

0 commit comments

Comments
 (0)