Compare commits

...

6 commits

Author SHA1 Message Date
Lance Edgar f23d33bbe9 docs: update project links, kallithea -> forgejo 2024-09-14 12:48:37 -05:00
Lance Edgar 7823f3f1b1 docs: use markdown for readme file 2024-09-13 18:19:51 -05:00
Lance Edgar 7d75c11468 bump: version 0.3.1 → 0.3.2 2024-08-18 20:10:29 -05:00
Lance Edgar ef6e50e3a9 fix: avoid deprecated base class for config extension 2024-08-16 13:33:32 -05:00
Lance Edgar f87f602e59 bump: version 0.3.0 → 0.3.1 2024-07-01 14:00:45 -05:00
Lance Edgar c923f71eb2 fix: remove legacy command definitions 2024-07-01 12:17:50 -05:00
6 changed files with 31 additions and 35 deletions

View file

@ -5,6 +5,18 @@ All notable changes to rattail-wave 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.3.2 (2024-08-18)
### Fix
- avoid deprecated base class for config extension
## v0.3.1 (2024-07-01)
### Fix
- remove legacy command definitions
## v0.3.0 (2024-06-10)
### Feat

11
README.md Normal file
View file

@ -0,0 +1,11 @@
# rattail-wave
Rattail is a retail software framework, released under the GNU General
Public License.
This package contains software interfaces for
[Wave](https://www.waveapps.com/).
Please see the [Rattail Project](https://rattailproject.org/) for more
information.

View file

@ -1,14 +0,0 @@
rattail-wave
============
Rattail is a retail software framework, released under the GNU General
Public License.
This package contains software interfaces for `Wave`_.
.. _`Wave`: https://www.waveapps.com/
Please see the `Rattail Project`_ for more information.
.. _`Rattail Project`: https://rattailproject.org/

View file

@ -6,9 +6,9 @@ build-backend = "hatchling.build"
[project]
name = "rattail-wave"
version = "0.3.0"
version = "0.3.2"
description = "Rattail integration package for Wave"
readme = "README.rst"
readme = "README.md"
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
license = {text = "GNU GPL v3+"}
classifiers = [
@ -29,10 +29,6 @@ dependencies = [
]
[project.entry-points."rattail.subcommands"]
import-wave = "rattail_wave.commands:ImportWave"
[project.entry-points."rattail.typer_imports"]
rattail_wave = "rattail_wave.commands"
@ -47,8 +43,8 @@ rattail_wave = "rattail_wave.config:RattailWaveExtension"
[project.urls]
Homepage = "https://rattailproject.org"
Repository = "https://kallithea.rattailproject.org/rattail-project/rattail-wave"
Changelog = "https://kallithea.rattailproject.org/rattail-project/rattail-wave/files/master/CHANGELOG.md"
Repository = "https://forgejo.wuttaproject.org/rattail/rattail-wave"
Changelog = "https://forgejo.wuttaproject.org/rattail/rattail-wave/src/branch/master/CHANGELOG.md"
[tool.commitizen]

View file

@ -26,7 +26,7 @@ rattail-wave commands
import typer
from rattail.commands import rattail_typer, ImportSubcommand
from rattail.commands import rattail_typer
from rattail.commands.typer import importer_command, typer_get_runas_user
from rattail.commands.importing import ImportCommandHandler
@ -46,12 +46,3 @@ def import_wave(
config, import_handler_key='to_rattail.from_wave.import')
kwargs['user'] = typer_get_runas_user(ctx)
handler.run(kwargs, progress=progress)
class ImportWave(ImportSubcommand):
"""
Import data to Rattail, from Wave API
"""
name = 'import-wave'
description = __doc__.strip()
handler_key = 'to_rattail.from_wave.import'

View file

@ -2,7 +2,7 @@
################################################################################
#
# Rattail -- Retail Software Framework
# Copyright © 2010-2022 Lance Edgar
# Copyright © 2010-2024 Lance Edgar
#
# This file is part of Rattail.
#
@ -24,10 +24,10 @@
Config Extension
"""
from rattail.config import ConfigExtension
from wuttjamaican.conf import WuttaConfigExtension
class RattailWaveExtension(ConfigExtension):
class RattailWaveExtension(WuttaConfigExtension):
"""
Config extension for rattail-wave.
"""