Skip to content

Commit

Permalink
Prepare new release
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf committed Mar 3, 2023
1 parent 6b22059 commit 5159794
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 2.4.3

* Fix compatibility with moderngl 5.8.x
* Camera now has keymap support (QWERTY, AZERTY etc)

## 2.4.2

* Allow toggling vsync and runtime for most windows
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __getattr__(cls, name):
author = 'Einar Forselv'

# The short X.Y version
version = '2.3.0'
version = '2.4.3'
# The full version, including alpha/beta/rc tags
release = version

Expand Down
4 changes: 3 additions & 1 deletion extras/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ We try to follow semantic versioning as much as possible: https://semver.org/spe
* Change version numbers in docs/conf.py (`version` and `release`)
* Change version in `setup.py`
* `rm -rf .tox` (Force env recreation)
* Run tests. Ensure it passes for `py35`, `py36`, `py37`, `py38` and `pep8`.
* Run tests. Ensure it passes for `py38`, `py39`, `py310`, `py311` and `pep8`.
Run using `tox`.
* Create release on Github : https://github.com/moderngl/moderngl-window/releases with entries from `CHANGELOG.md`
* `python setup.py bdist_wheel`
* `python setup.py sdist`
* `twine upload dist/moderngl-window-<version>-py3-none-any.whl`
* `twine upload dist/moderngl-window-<version>.tar.gz`
* Ensure docs are updated : https://moderngl-window.readthedocs.io/
* Ensure things look correct on PyPI : https://pypi.org/project/moderngl-window/

Expand Down
2 changes: 1 addition & 1 deletion moderngl_window/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from moderngl_window.utils.module_loading import import_string
from moderngl_window.utils.keymaps import KeyMapFactory, KeyMap, QWERTY, AZERTY

__version__ = "2.3.0"
__version__ = "2.4.3"

IGNORE_DIRS = [
"__pycache__",
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="moderngl-window",
version="2.4.2",
version="2.4.3",
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',
Expand All @@ -14,7 +14,7 @@
keywords=['moderngl', 'window', 'context'],
license='MIT',
platforms=['any'],
python_requires='>=3.6',
python_requires='>=3.7',
classifiers=[
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
Expand Down

0 comments on commit 5159794

Please sign in to comment.