Skip to content

Commit 7b4dd19

Browse files
Updated pyproject.toml
1 parent 1bf665f commit 7b4dd19

1 file changed

Lines changed: 34 additions & 53 deletions

File tree

pyproject.toml

Lines changed: 34 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,46 @@
1-
# SPDX-FileCopyrightText: 2024 German Aerospace Center (DLR)
2-
#
3-
# SPDX-License-Identifier: CC0-1.0
4-
5-
# SPDX-FileContributor: Michael Meinel
6-
7-
[tool.poetry]
8-
# Reference at https://python-poetry.org/docs/pyproject/
9-
name = "hermes-toml"
10-
version = "0.8.0"
11-
license = "Apache-2.0"
1+
[build-system]
2+
requires = ["setuptools >= 70.1.1"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "hermes-plugin-python"
7+
dynamic = ["version"]
8+
version = "0.1.0"
9+
license = {text = "Apache-2.0"}
10+
readme = "README.md"
1211
authors = [
13-
"Michael Meinel <michael.meinel@dlr.de>",
12+
{name = "Michael Meinel", email = "michael.meinel@dlr.de"},
13+
{name = "Michael Fritzsche"},
1414
]
15-
16-
description = "HERMES plugin for toml."
17-
repository = "https://github.com/hermes-hmc/hermes-python"
15+
description = "HERMES plugin for .toml files"
1816
keywords = ["publishing", "metadata", "automation"]
19-
20-
# Stating our package explicitely here to enable
21-
# a) including contrib packages in the future and
22-
# b) rename the package for development snapshot releases to TestPyPI
2317
packages = [
2418
{ include = "hermes_toml", from = "src" }
2519
]
20+
requires-python = ">= 3.12.4"
21+
classifiers = [
22+
"Development Status :: 2 - Pre-Alpha",
23+
"Environment :: Plugins",
24+
"Programming Language :: Python :: 3",
25+
"Operating System :: OS Independent",
26+
]
27+
dependencies = [
28+
"hermes>=0.8.0",
29+
]
2630

27-
[tool.poetry.dependencies]
28-
python = "^3.10"
29-
hermes = "^0.8.0"
30-
31-
[tool.poetry.group.dev.dependencies]
32-
pytest = "^7.1.1"
33-
pytest-cov = "^3.0.0"
34-
taskipy = "^1.10.3"
35-
flake8 = "^5.0.4"
36-
reuse = "^1.1.2"
37-
38-
# Packages for developers for creating documentation
39-
[tool.poetry.group.docs]
40-
optional = true
31+
[project.optional-dependencies]
32+
dev = [
33+
"pytest>=8.2.2",
34+
"pytest-cov>=3.0.0",
35+
"taskipy>=1.10.3",
36+
"flake8>=5.0.4",
37+
"reuse>=1.1.2",
38+
]
4139

42-
[tool.poetry.group.docs.dependencies]
43-
Sphinx = "^6.2.1"
44-
# Sphinx - Additional modules
45-
myst-parser = "^2.0.0"
46-
sphinx-book-theme = "^1.0.1"
47-
sphinx-favicon = "^0.2"
48-
sphinxcontrib-contentui = "^0.2.5"
49-
sphinxcontrib-images = "^0.9.4"
50-
sphinx-icon = "^0.1.2"
51-
sphinx-autobuild = "^2021.3.14"
52-
sphinx-autoapi = "^3.0.0"
53-
sphinxemoji = "^0.2.0"
54-
sphinxext-opengraph = "^0.6.3"
55-
sphinxcontrib-mermaid="^0.8.1"
56-
sphinx-togglebutton="^0.3.2"
40+
[project.urls]
41+
Repository = "https://github.com/hermes-hmc/hermes-plugin-python"
5742

58-
[tool.poetry.plugins."hermes.harvest"]
43+
[project.entry-points."hermes.harvest"]
5944
cff = "hermes.commands.harvest.cff:CffHarvestPlugin"
6045
codemeta = "hermes.commands.harvest.codemeta:CodeMetaHarvestPlugin"
6146
toml = "hermes_toml.harvest:TomlHarvestPlugin"
62-
63-
[build-system]
64-
requires = ["poetry-core>=1.2.0"]
65-
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)