diff --git a/LICENSE b/LICENSE index 681af02..9e3236b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 2-Clause License -Copyright (c) 2024, IHME Math Sciences +Copyright (c) 2019-2024, IHME Math Sciences All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/README.rst b/README.rst index 92db9b9..f21cd89 100644 --- a/README.rst +++ b/README.rst @@ -10,10 +10,10 @@ .. image:: https://img.shields.io/badge/docs-here-green :target: https://ihmeuw-msca.github.io/xspline -.. image:: https://codecov.io/gh/ihmeuw-msca/xspline/branch/main/graph/badge.svg?token=WUV5OR77N8 +.. image:: https://img.shields.io/codecov/c/github/ihmeuw-msca/xspline :target: https://codecov.io/gh/ihmeuw-msca/xspline -.. image:: https://app.codacy.com/project/badge/Grade/308cc2771871498fbcdaee3440e56ad0 +.. image:: https://img.shields.io/codacy/grade/f1646d62d6764e77a59d6c71df262ed4 :target: https://app.codacy.com/gh/ihmeuw-msca/xspline/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade diff --git a/docs/conf.py b/docs/conf.py index c1dd8cd..9e69e4c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -10,17 +10,19 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # +import datetime + import tomllib with open("../pyproject.toml", "rb") as f: - meta = tomllib.load(f)["tool"]["sphinx"] + meta = tomllib.load(f)["project"] # -- Project information ----------------------------------------------------- -project = meta["project"] -author = meta["author"] -copyright = meta["copyright"] +project = meta["name"] +author = ", ".join([info["name"] for info in meta["authors"]]) +copyright = f"2019-{datetime.datetime.today().year}, {author}" # The full version, including alpha/beta/rc tags diff --git a/pyproject.toml b/pyproject.toml index 09a5ba8..55fdc91 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "xspline" -version = "0.1.0" +version = "0.1.1" description = "Advanced spline package that provides b-spline bases, their derivatives and integrals" readme = "README.rst" requires-python = ">=3.10" @@ -20,9 +20,3 @@ docs = ["sphinx", "sphinx-autodoc-typehints", "furo"] [project.urls] github = "https://github.com/ihmeuw-msca/xspline" - -[tool.sphinx] -project = "xspline" -author = "IHME Math Sciences" -copyright = "2024, IHME Math Sciences" -version = "0.1.0" \ No newline at end of file