From 5a27851d2a633fa22e567e37dc02a921e667e8bf Mon Sep 17 00:00:00 2001 From: MatrixEditor <58256046+MatrixEditor@users.noreply.github.com> Date: Sun, 29 Sep 2024 08:54:54 +0200 Subject: [PATCH] Updated documentation and bumped version to 2.2.0 --- docs/sphinx/source/tutorial/first_steps.rst | 4 ++-- pyproject.toml | 2 +- src/caterpillar/__init__.py | 2 +- src/ccaterpillar/pyproject.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/sphinx/source/tutorial/first_steps.rst b/docs/sphinx/source/tutorial/first_steps.rst index 4231436..12af577 100644 --- a/docs/sphinx/source/tutorial/first_steps.rst +++ b/docs/sphinx/source/tutorial/first_steps.rst @@ -99,7 +99,7 @@ becomes unnecessary. .. tab-item:: Caterpillar C >>> obj = RGB(r=1, g=2, b=3) - >>> pack(obj, RGB.__struct__) # required as of version 2.2.0 + >>> pack(obj, RGB) # required as of version 2.2.0 b'\x01\x02\x03' @@ -118,7 +118,7 @@ or our struct class is necessary. .. tab-item:: Caterpillar C - >>> unpack(b"\x01\x02\x03", RGB.__struct__) + >>> unpack(b"\x01\x02\x03", RGB) RGB(r=1, g=2, b=3) diff --git a/pyproject.toml b/pyproject.toml index 2bd591b..e024a7c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ cmake.source-dir = "." [project] name = "caterpillar" -version = "2.2.0-rc" +version = "2.2.0" description="Library to pack and unpack structurized binary data." authors = [ diff --git a/src/caterpillar/__init__.py b/src/caterpillar/__init__.py index f67352c..9ee086e 100644 --- a/src/caterpillar/__init__.py +++ b/src/caterpillar/__init__.py @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -__version__ = "2.2.0-rc" +__version__ = "2.2.0" __release__ = None __author__ = "MatrixEditor" diff --git a/src/ccaterpillar/pyproject.toml b/src/ccaterpillar/pyproject.toml index b0f1798..ff0a99d 100644 --- a/src/ccaterpillar/pyproject.toml +++ b/src/ccaterpillar/pyproject.toml @@ -18,7 +18,7 @@ CP_ENABLE_NATIVE = "1" [project] name = "caterpillar" -version = "2.2.0-rc" +version = "2.2.0" description="Library to pack and unpack structurized binary data." authors = [