diff --git a/CHANGELOG.md b/CHANGELOG.md index 78f5e5d..af2bfc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to rattail will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## v0.2.5 (2025-09-20) + +### Fix + +- fix config extension entry point + ## v0.2.4 (2024-11-24) ### Fix diff --git a/pyproject.toml b/pyproject.toml index dbc3511..b7f08b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "hatchling.build" [project] name = "rattail-demo" -version = "0.2.4" +version = "0.2.5" description = "Rattail Software Demo" readme = "README.md" authors = [{name = "Lance Edgar", email = "lance@edbob.org"}] @@ -45,7 +45,7 @@ main = "rattail_demo.web.app:main" webapi = "rattail_demo.web.webapi:main" -[project.entry-points."rattail.config.extensions"] +[project.entry-points."wutta.config.extensions"] rattail-demo = "rattail_demo.config:DemoConfigExtension" diff --git a/tasks.py b/tasks.py new file mode 100644 index 0000000..d296ec9 --- /dev/null +++ b/tasks.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8; -*- +""" +Tasks for rattail-demo +""" + +import os +import shutil + +from invoke import task + + +@task +def release(c): + """ + Release a new version of 'rattail-demo' + """ + if os.path.exists('dist'): + shutil.rmtree('dist') + if os.path.exists('rattail_demo.egg-info'): + shutil.rmtree('rattail_demo.egg-info') + + c.run('python -m build --sdist') + c.run('twine upload dist/*')