Compare commits

..

No commits in common. "64f1e8897a53b63718d4211e04693c6c3952363f" and "f60d6e7516ae8909dfc81cfcb68a069a13baf544" have entirely different histories.

4 changed files with 5 additions and 54 deletions

1
.gitignore vendored
View file

@ -1,2 +1 @@
dist/
docs/_build/

View file

@ -4,9 +4,3 @@ All notable changes to WuttaPOS 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.4.0 (2026-01-03)
First release under the new project.
The server app works, but does little. Same for the terminal app.

View file

@ -8,11 +8,15 @@ build-backend = "hatchling.build"
name = "WuttaPOS"
# nb. 0.3.0 was the last release of the previous rattail WuttaPOS app.
# pretty sure this will bump to 0.4.0 and then i can remove this note.
version = "0.4.0"
version = "0.3.0"
description = "Point of Sale system based on Wutta Framework"
readme = "README.md"
authors = [{name = "Lance Edgar", email = "lance@wuttaproject.org"}]
classifiers = [
# TODO: remove this if you intend to publish your project
# (it's here by default, to prevent accidental publishing)
"Private :: Do Not Upload",
"Development Status :: 3 - Alpha",
"Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications",

View file

@ -1,46 +0,0 @@
# -*- coding: utf-8; -*-
################################################################################
#
# WuttaPOS -- Point of Sale system based on Wutta Framework
# Copyright © 2026 Lance Edgar
#
# This file is part of WuttaPOS.
#
# WuttaPOS is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later
# version.
#
# WuttaPOS is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# WuttaPOS. If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
"""
Tasks for WuttaPOS
"""
import os
import shutil
from invoke import task
@task
def release(c, skip_tests=False):
"""
Release a new version of WuttaPOS
"""
if not skip_tests:
# c.run("pytest")
pass
if os.path.exists("dist"):
shutil.rmtree("dist")
c.run("python -m build --sdist")
c.run("twine upload dist/*")