wuttapos/pyproject.toml
Lance Edgar 2a835d9bcb feat: use latest flet, try to fix threading issues
see also, previous comment in pyproject.toml (removed in this commit).

there is some event loop error happening on app exit with latest flet,
which may or may not be solved with this commit.  but since flet is
still essentially in beta phase, seems better to stay on latest
version instead of holding back.

this tries to fix the issue(s) in the following ways:

- timestamp thread is now "daemonized"
- if runtime error happens in timestamp control, ignore and exit thread
- if runtime error happens in main thread error handler, also ignore

we'll see what happens next after some usage
2024-07-05 16:41:11 -05:00

54 lines
1.5 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "WuttaPOS"
version = "0.2.1"
description = "Pythonic Point of Sale System"
readme = "README.md"
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
license = {text = "GNU GPL v3+"}
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Office/Business :: Financial :: Point-Of-Sale",
]
dependencies = [
"psycopg2",
"rattail[db]",
"typer",
# nb. for now we are just testing one version, for simplicity
"flet==0.23.2",
]
[project.scripts]
wuttapos = "wuttapos.commands:wuttapos_typer"
[project.entry-points."rattail.config.extensions"]
wuttapos = "wuttapos.config:WuttaConfigExtension"
[project.urls]
Homepage = "https://rattailproject.org"
Repository = "https://kallithea.rattailproject.org/rattail-project/wuttapos"
Changelog = "https://kallithea.rattailproject.org/rattail-project/wuttapos/files/master/CHANGELOG.md"
[tool.commitizen]
version_provider = "pep621"
tag_format = "v$version"
update_changelog_on_bump = true