Skip to content

Commit 8548d5d

Browse files
authored
Create version 0.1.1 to migrate to ihmeuw-msca (#24)
* update the date in the LICENSE * update documentation and pyproject file * update badges
1 parent eeaf5bd commit 8548d5d

File tree

4 files changed

+10
-14
lines changed

4 files changed

+10
-14
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 2-Clause License
22

3-
Copyright (c) 2024, IHME Math Sciences
3+
Copyright (c) 2019-2024, IHME Math Sciences
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
.. image:: https://img.shields.io/badge/docs-here-green
1111
:target: https://ihmeuw-msca.github.io/xspline
1212

13-
.. image:: https://codecov.io/gh/ihmeuw-msca/xspline/branch/main/graph/badge.svg?token=WUV5OR77N8
13+
.. image:: https://img.shields.io/codecov/c/github/ihmeuw-msca/xspline
1414
:target: https://codecov.io/gh/ihmeuw-msca/xspline
1515

16-
.. image:: https://app.codacy.com/project/badge/Grade/308cc2771871498fbcdaee3440e56ad0
16+
.. image:: https://img.shields.io/codacy/grade/f1646d62d6764e77a59d6c71df262ed4
1717
:target: https://app.codacy.com/gh/ihmeuw-msca/xspline/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade
1818

1919

docs/conf.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,19 @@
1010
# add these directories to sys.path here. If the directory is relative to the
1111
# documentation root, use os.path.abspath to make it absolute, like shown here.
1212
#
13+
import datetime
14+
1315
import tomllib
1416

1517
with open("../pyproject.toml", "rb") as f:
16-
meta = tomllib.load(f)["tool"]["sphinx"]
18+
meta = tomllib.load(f)["project"]
1719

1820

1921
# -- Project information -----------------------------------------------------
2022

21-
project = meta["project"]
22-
author = meta["author"]
23-
copyright = meta["copyright"]
23+
project = meta["name"]
24+
author = ", ".join([info["name"] for info in meta["authors"]])
25+
copyright = f"2019-{datetime.datetime.today().year}, {author}"
2426

2527

2628
# The full version, including alpha/beta/rc tags

pyproject.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "xspline"
7-
version = "0.1.0"
7+
version = "0.1.1"
88
description = "Advanced spline package that provides b-spline bases, their derivatives and integrals"
99
readme = "README.rst"
1010
requires-python = ">=3.10"
@@ -20,9 +20,3 @@ docs = ["sphinx", "sphinx-autodoc-typehints", "furo"]
2020

2121
[project.urls]
2222
github = "https://github.com/ihmeuw-msca/xspline"
23-
24-
[tool.sphinx]
25-
project = "xspline"
26-
author = "IHME Math Sciences"
27-
copyright = "2024, IHME Math Sciences"
28-
version = "0.1.0"

0 commit comments

Comments
 (0)