Skip to content

Commit

Permalink
Merge pull request #82 from ResearchObject/pyproject
Browse files Browse the repository at this point in the history
convert almost all of setup.cfg to pyproject.toml using ini2toml.
  • Loading branch information
simleo authored Apr 11, 2024
2 parents 143923e + 2f530e8 commit 33d769b
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 50 deletions.
54 changes: 51 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
[build-system]
requires = [
"setuptools >= 46.4.0"
]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"

[project]
name = "runcrate"
description = "Workflow Run RO-Crate toolkit"
keywords = ["ro-crate", "workflow", "provenance", "CWL", "CommonWL"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
authors = [{name = "CRS4", email = "ro-crate@elixir-europe.org"}, {name = "RO-Crate community"}]
requires-python = ">=3.8, <4"
dependencies = [
"bdbag>=1.4.1",
"click~=8.1",
"cwl-utils==0.33",
"cwlprov==0.1.1",
"networkx==3.1",
"prov>=1.5.1",
"rocrate>=0.9,<1",
]
dynamic = ["version"]

[project.readme]
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/."
content-type = "text/x-rst"

[project.urls]
Homepage = "https://github.com/ResearchObject/runcrate"

[project.scripts]
runcrate = "runcrate.cli:cli"

[tool.setuptools]
zip-safe = false
include-package-data = true
package-dir = {"" = "src"}

[tool.setuptools.packages.find]
where = ["src"]
namespaces = false

[tool.setuptools.dynamic]
version = {attr = "runcrate.__version__"}
47 changes: 0 additions & 47 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,49 +1,2 @@
[metadata]
name = runcrate
version = attr: runcrate.__version__
license = Apache License, version 2.0 (Apache-2.0)
description = Workflow Run RO-Crate toolkit
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/.
long_description_content_type = text/x-rst
keywords = ro-crate, workflow, provenance, CWL
classifiers =
Development Status :: 2 - Pre-Alpha
License :: OSI Approved :: Apache Software License
Intended Audience :: Developers
Intended Audience :: Science/Research
Operating System :: MacOS :: MacOS X
Operating System :: POSIX :: Linux
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
author = CRS4, RO-Crate community
author_email = ro-crate@elixir-europe.org
url = https://github.com/ResearchObject/runcrate

[options]
zip_safe=False
include_package_data=True
packages=find:
package_dir=
=src

python_requires=>=3.8, <4

install_requires=
bdbag>=1.4.1
click~=8.1
cwl-utils==0.33
cwlprov==0.1.1
networkx==3.1
prov>=1.5.1
rocrate>=0.9,<1

[options.entry_points]
console_scripts=
runcrate=runcrate.cli:cli

[options.packages.find]
where=src

[flake8]
ignore = E501

0 comments on commit 33d769b

Please sign in to comment.