Skip to content

Commit

Permalink
move to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKraus committed Oct 8, 2024
1 parent 8dd62c6 commit f981aaf
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 3,020 deletions.
2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

56 changes: 56 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[build-system]
requires = ["setuptools >= 61.0", "setuptools-git-versioning"]
build-backend = "setuptools.build_meta"

[project]
dynamic = ["version"]
name = "dgbowl-schemas"
authors = [
{name = "Peter Kraus", email = "[email protected]"},
]
maintainers = [
{name = "Peter Kraus", email = "[email protected]"},
]
description = "schemas for the dgbowl suite of tools"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
requires-python = ">= 3.9"
dependencies = [
"pydantic >= 2.0",
"babel >= 2.15",
"pyyaml >= 5.0",
"tzlocal >= 5.0",
]

[project.optional-dependencies]
testing = ["pytest"]
docs = [
"sphinx ~= 6.2",
"sphinx-rtd-theme ~= 1.3",
"sphinx-autodoc-typehints",
"autodoc-pydantic >= 2.0.0",
]

[project.urls]
Documentation = "https://dgbowl.github.io/dgbowl_schemas/main"
Issues = "https://github.com/dgbowl/dgbowl_schemas/issues"
Repository = "https://github.com/dgbowl/dgbowl_schemas/"

[tool.setuptools-git-versioning]
enabled = true
dev_template = "{tag}.dev{ccount}"
dirty_template = "{tag}.dev{ccount}"

[tool.ruff]

[tool.pytest.ini_options]
log_cli = false
log_cli_level = "DEBUG"
11 changes: 0 additions & 11 deletions setup.cfg

This file was deleted.

48 changes: 0 additions & 48 deletions setup.py

This file was deleted.

4 changes: 2 additions & 2 deletions src/dgbowl_schemas/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from . import dgpost, yadg, tomato
from . import _version
from importlib.metadata import version

__version__ = _version.get_versions()["version"]
__version__ = version("dgbowl_schemas")
__all__ = ["dgpost", "yadg", "tomato"]
Loading

0 comments on commit f981aaf

Please sign in to comment.