Skip to content

Commit

Permalink
Create version 0.1.1 to migrate to ihmeuw-msca (#24)
Browse files Browse the repository at this point in the history
* update the date in the LICENSE

* update documentation and pyproject file

* update badges
  • Loading branch information
zhengp0 committed Apr 9, 2024
1 parent eeaf5bd commit 8548d5d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
10 changes: 6 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 1 addition & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"

0 comments on commit 8548d5d

Please sign in to comment.