From 4d660a920146e9316f8312dd660acc78797d34df Mon Sep 17 00:00:00 2001 From: "ddrous[macos]" Date: Tue, 28 May 2024 09:39:37 +0100 Subject: [PATCH] Setup for release on PyPi --- docs/README.md | 2 +- docs/assets/NextRelease.md | 6 +----- pyproject.toml | 2 +- updes/config.py | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/README.md b/docs/README.md index b7e7f70..04ae40f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -19,7 +19,7 @@ General steps for creating a new release: https://carpentries-incubator.github.i - pip install build -- python3 -m build +- python3 -m build (make sure the `dist` folder is empty) - pip install twine - twine check dist/* - Add PyPI token to ~/.pypirc diff --git a/docs/assets/NextRelease.md b/docs/assets/NextRelease.md index 6a1a943..729bd6a 100644 --- a/docs/assets/NextRelease.md +++ b/docs/assets/NextRelease.md @@ -1,5 +1 @@ -For the next release v1.0.2 -- [X] Added colorbar to animate fields -- [X] Fixed the args inputs to construct the local matrix for nodal_div_grad: (if array, else, etc.) -- [X] Implemented the Darcy flow problem -- [X] Faster linear solves with Lineax +For the next release v1.0.3 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index df52536..b239f58 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "updes" description = "Universal Partial Differential Equations Simulator" -version = "1.0.1.post" +version = "1.0.2" readme = "docs/assets/README_PyPI.md" authors = [ { name = "Roussel Desmond Nzoyem", email = "desmond.ngueguin@gmail.com" } diff --git a/updes/config.py b/updes/config.py index 341dc9a..3eadefe 100644 --- a/updes/config.py +++ b/updes/config.py @@ -5,7 +5,7 @@ RBF = None ## Default radial basis function MAX_DEGREE = None ## Max degree for monomials DIM = 2 ## Default problem dimension -__version__ = "1.0.1" ## Package version ## TODO check if okay to do this here +__version__ = "1.0.2" ## Package version ## TODO check if okay to do this here PREALLOCATE = False if not PREALLOCATE: