Metadata-Version: 2.4
Name: opensesame-extension-updater
Version: 0.3.0
Summary: Checks for updates to extensions and plugins in OpenSesame
License: COPYING
License-File: COPYING
Author: Sebastiaan Mathôt
Author-email: s.mathot@cogsci.nl
Requires-Python: >=3.10
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Requires-Dist: opensesame-core (>=4.1.0a0)
Requires-Dist: pip
Requires-Dist: pyqt_code_editor (>=1.7.0)
Project-URL: Homepage, https://osdoc.cogsci.nl
Project-URL: Repository, https://github.com/open-cogsci/opensesame-extension-updater
Description-Content-Type: text/markdown

# Updater extension for OpenSesame/ Rapunzel

Copyright 2023-2026 Sebastiaan Mathôt (@smathot)


## About

An extension that automatically checks for updates to extensions and plugins for OpenSesame and Rapunzel.

The extension first collects all packages that need to be checked by inspecting all implicit namespace packages within `opensesame_extensions` and `opensesame_plugins`, which can define a `packages` list in `__init__.py` (see also `opensesame_extensions\updater\__init__.py`).

Next, the current version of each of these packages is checked through `importlib.metadata`, and the latest available version is checked through the PyPI JSON API. If updates are available, an update script is generated that installs the updates through `pip`, using the Python interpreter of OpenSesame itself. The actual update-checking logic is implemented by the `pyqt_code_editor.pypi_updater` module of the `pyqt_code_editor` package, which is shared with Sigmund Analyst.


## License

This code is distributed under the terms of the GNU General Public License 3. The full license should be included in the file COPYING, or can be obtained from:

- <http://www.gnu.org/licenses/gpl.txt>

