From a6f63a4b985a1851d4866b259901ead25f1aad2c Mon Sep 17 00:00:00 2001 From: Jordan Matelsky Date: Tue, 8 Jun 2021 23:31:22 -0400 Subject: [PATCH] Add __version__ to __init__ (#123) * Add __version__ to __init__ * Update setup.py * Update CHANGELOG.md --- CHANGELOG.md | 4 +++- pytri/__init__.py | 1 + setup.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1743d90..e773018 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +- **2.0.1** + - Add `__version__` to module to sync with setup.py. - **2.0.0** - Allow for a custom background color. Default is none (transparent). - Use a Lambert shader as the default for new meshes (#115) @@ -31,4 +33,4 @@ - **0.1.0** (October 31, 2017) - `pytri#fibers` - **0.0.1** (October 26, 2017) - - Initial push to PyPI \ No newline at end of file + - Initial push to PyPI diff --git a/pytri/__init__.py b/pytri/__init__.py index cc3c302..5bf8048 100644 --- a/pytri/__init__.py +++ b/pytri/__init__.py @@ -35,6 +35,7 @@ _DEFAULT_FIGURE_WIDTH = 600 _DEFAULT_FIGURE_HEIGHT = 400 +__version__ = "2.0.1" class Figure: """ diff --git a/setup.py b/setup.py index 9039e95..4c9dd1a 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name="pytri", - version="2.0.0", + version="2.0.1", description="Pytri, redux", long_description=long_description, long_description_content_type="text/markdown",