Skip to content
Merged
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
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ indent_size = 2
# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml}]
indent_size = 2

# Align TOML indenting with Tombi
[*.toml]
indent_size = 2
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@ target/
*.kdev4

.idea
uv.lock
25 changes: 0 additions & 25 deletions MANIFEST.in

This file was deleted.

62 changes: 60 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,61 @@
# SPDX-FileCopyrightText: 2015-2022 CERN.
# SPDX-FileCopyrightText: 2022 Graz University of Technology.
# SPDX-FileCopyrightText: 2026 TU Wien.
# SPDX-License-Identifier: MIT

[project]
name = "idutils"
description = "Small library for persistent identifiers used in scholarly communication."
readme = "README.rst"
requires-python = ">=3.9"
license = "BSD-3-Clause"
authors = [
{ name = "Invenio Software", email = "info@inveniosoftware.org" },
]
keywords = [
"identifiers",
"persistent",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
]
dependencies = [
"isbnlib2>=3.11.7",
]
dynamic = ["version"]

[project.urls]
Repository = "https://github.com/inveniosoftware/idutils"

[project.optional-dependencies]
docs = []
tests = [
"pytest-black-ng>=0.4.0",
"pytest-cache>=1.0",
"pytest-invenio>=1.4.0",
"pytest-runner>=2.6.2",
"sphinx>=4.5",
]

[build-system]
requires = ["setuptools", "wheel", "babel>2.8"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "idutils/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
"/idutils",
]

[tool.isort]
profile = "black"

[tool.pydocstyle]
add_ignore = ""

[tool.pytest.ini_options]
addopts = '--black --isort --pydocstyle --doctest-glob="*.rst" --doctest-modules --cov=idutils --cov-report=term-missing'
testpaths = "tests idutils"
live_server_scope = "module"
1 change: 0 additions & 1 deletion run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ set -o errexit
# Quit on unbound symbols
set -o nounset

python -m check_manifest
python -m sphinx.cmd.build -qnNW docs docs/_build/html
python -m pytest
58 changes: 0 additions & 58 deletions setup.cfg

This file was deleted.

14 changes: 0 additions & 14 deletions setup.py

This file was deleted.