Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014zNf4shD4zaCKLucZWPYL9
84 lines
2.3 KiB
TOML
84 lines
2.3 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=80", "setuptools-scm>=8"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "paperspec"
|
|
dynamic = ["version"]
|
|
description = "The scienting formats: the reference implementation of every rule, with the JSON Schemas, SQL and test vectors as package data"
|
|
readme = "README.md"
|
|
license = "Apache-2.0 AND CC0-1.0"
|
|
license-files = ["LICENSE.md"]
|
|
authors = [{ name = "Scienting", email = "maintainer@scient.ing" }]
|
|
requires-python = ">=3.14,<3.15"
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Science/Research",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Programming Language :: Python :: 3.14",
|
|
"Topic :: Scientific/Engineering",
|
|
]
|
|
dependencies = []
|
|
|
|
[project.optional-dependencies]
|
|
schema = ["jsonschema>=4.26", "referencing>=0.35"]
|
|
crypto = ["cryptography>=46"]
|
|
tools = ["paperspec[crypto,schema]"]
|
|
|
|
[project.scripts]
|
|
paperspec = "paperspec.cli.main:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://docs.scient.ing/paperspec/"
|
|
Documentation = "https://docs.scient.ing/paperspec/"
|
|
Specification = "https://paperspec.scient.ing"
|
|
Repository = "https://git.scient.ing/papers/paperspec"
|
|
Changelog = "https://git.scient.ing/papers/paperspec/src/branch/main/CHANGELOG.md"
|
|
|
|
[dependency-groups]
|
|
test = ["pytest>=8.4", "pytest-cov>=6", "hypothesis>=6.130"]
|
|
lint = ["ruff>=0.17.1,<0.18", "ty>=0.0.89,<0.0.90"]
|
|
dev = [
|
|
{ include-group = "test" },
|
|
{ include-group = "lint" },
|
|
"pre-commit>=4",
|
|
"build>=1.2",
|
|
"twine>=6.1",
|
|
]
|
|
|
|
[tool.setuptools]
|
|
packages = [
|
|
"paperspec",
|
|
"paperspec.cli",
|
|
"paperspec.schemas",
|
|
"paperspec.sql",
|
|
"paperspec.vectors",
|
|
"paperspec.registry",
|
|
"paperspec.registry.stamps",
|
|
"paperspec.registry.stages",
|
|
"paperspec.context",
|
|
]
|
|
|
|
[tool.setuptools.package-dir]
|
|
"" = "src"
|
|
"paperspec.schemas" = "schemas"
|
|
"paperspec.sql" = "sql"
|
|
"paperspec.vectors" = "vectors"
|
|
"paperspec.registry" = "registry"
|
|
"paperspec.context" = "context"
|
|
|
|
[tool.setuptools.package-data]
|
|
"paperspec.schemas" = ["*.json"]
|
|
"paperspec.sql" = ["*.sql"]
|
|
"paperspec.vectors" = ["*.jsonl"]
|
|
"paperspec.registry" = ["*.json"]
|
|
"paperspec.registry.stamps" = ["*.json"]
|
|
"paperspec.registry.stages" = ["*.json"]
|
|
"paperspec.context" = ["*.jsonld"]
|
|
|
|
[tool.setuptools_scm]
|
|
fallback_version = "0+unknown"
|
|
version_file = "src/paperspec/_version.py"
|
|
version_scheme = "guess-next-dev"
|
|
local_scheme = "node-and-timestamp"
|