Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare 0.2.0 #9

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ jobs:
python -m pip install --upgrade pip
pip install build
pip install toml
- name: Update version number
run: |
# Note: the following account information will not work on GHES
git config user.name "github-actions[bot]"
git config user.email ""
git add .
git commit -m "generated"
git push origin HEAD:main
- name: Build package
run: python -m build
- name: Publish package
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ src/hermes_toml/util/__pycache__/
__pycache__/
.hermes/
.coverage

# IDE artifacts
.idea/
9 changes: 5 additions & 4 deletions hermes.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[harvest]
sources = ["toml"]

[harvest.toml]
from_branch = "develop"

[deposit]
target = "invenio_rdm"

[deposit.invenio_rdm]
site_url = "https://sandbox.zenodo.org"
site_url = "https://zenodo.org"
access_right = "open"
record_id = "13168127"

[postprocess]
execute = [ "config_record_id" ]
47 changes: 29 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,39 @@
#
# SPDX-FileContributor: Michael Meinel
# SPDX-FileContributor: Michael Fritzsche
[build-system]
requires = [ "setuptools >= 70.1.1",]
build-backend = "setuptools.build_meta"

[project]
name = "hermes-plugin-python"
version = "0.1.8"
version = "0.2.0"
readme = "README.md"
description = "HERMES plugin for .toml files"
keywords = [ "publishing", "metadata", "automation",]
requires-python = ">= 3.8"
classifiers = [ "Development Status :: 2 - Pre-Alpha", "Environment :: Plugins", "Programming Language :: Python :: 3", "Operating System :: OS Independent",]
dependencies = [ "hermes>=0.8.0",]
[[project.authors]]
name = "Michael Meinel"
email = "[email protected]"
license = { text = "Apache-2.0" }
authors = [
{ name = "Michael Fritzsche" },
{ name = "Michael Meinel", email = "[email protected]" },
]

[[project.authors]]
name = "Michael Fritzsche"
keywords = [ "publishing", "metadata", "automation",]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Environment :: Plugins",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]

[project.license]
text = "Apache-2.0"
requires-python = ">= 3.8"
dependencies = [
"hermes>=0.8.0",
]

[project.optional-dependencies]
dev = [ "pytest>=8.2.2", "pytest-cov>=3.0.0", "taskipy>=1.10.3", "flake8>=5.0.4", "reuse>=1.1.2",]
dev = [
"pytest>=8.2.2",
"pytest-cov>=3.0.0",
"taskipy>=1.10.3",
"flake8>=5.0.4",
"reuse>=1.1.2",
]

[project.urls]
Repository = "https://github.com/hermes-hmc/hermes-plugin-python"
Expand All @@ -37,9 +45,12 @@ Repository = "https://github.com/hermes-hmc/hermes-plugin-python"
packages = [ "hermes_toml",]

[project.entry-points."hermes.harvest"]
cff = "hermes.commands.harvest.cff:CffHarvestPlugin"
codemeta = "hermes.commands.harvest.codemeta:CodeMetaHarvestPlugin"
toml = "hermes_toml.harvest:TomlHarvestPlugin"

[tool.setuptools.package-dir]
"" = "src"

[build-system]
requires = [ "setuptools >= 70.1.1",]
build-backend = "setuptools.build_meta"

Loading