diff --git a/CHANGELOG.md b/CHANGELOG.md index c4926794..28d5ca2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ * Added missing type hints * Revived the STL loader * Documentation +* Added `moderngl_window.__version__` attribute ## 1.2.0 diff --git a/docs/conf.py b/docs/conf.py index 3b9f1463..21ab501e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -53,9 +53,9 @@ def __getattr__(cls, name): author = 'Einar Forselv' # The short X.Y version -version = '1.2.0' +version = '1.3.0' # The full version, including alpha/beta/rc tags -release = '1.2.0' +release = '1.3.0' # -- General configuration --------------------------------------------------- diff --git a/moderngl_window/__init__.py b/moderngl_window/__init__.py index 4ecd68bd..d6e2cf2f 100644 --- a/moderngl_window/__init__.py +++ b/moderngl_window/__init__.py @@ -16,6 +16,7 @@ from moderngl_window.conf import settings from moderngl_window.utils.module_loading import import_string +__version__ = '1.3.0' IGNORE_DIRS = [ '__pycache__', diff --git a/setup.py b/setup.py index 5f5b9afd..eeb37bcb 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="moderngl_window", - version="1.2.0", + version="1.3.0", description="A cross platform helper library for ModernGL making window creation and resource loading simple", long_description=open('README.md').read(), long_description_content_type='text/markdown',