Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Use a non-numeric web UI fallback, configure bump-my-version against pyproject.toml, and add a workflow_dispatch Action that opens a bump PR. Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
60 lines
1.5 KiB
TOML
60 lines
1.5 KiB
TOML
[project]
|
|
name = "xlsx-clean"
|
|
version = "0.2.0"
|
|
description = "Create a new QC datasheet from the latest matching workbook"
|
|
authors = [
|
|
{ name = "Diaco Soltanpour", email = "dyaco8464@yahoo.com" }
|
|
]
|
|
dependencies = [
|
|
"beaupy>=3.12.0",
|
|
"nicegui>=3.14.0",
|
|
"pandas>=3.0.3",
|
|
"pywebview>=6.2.1",
|
|
"pywin32>=312; sys_platform == 'win32'",
|
|
]
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
|
|
[project.scripts]
|
|
xlsx-clean = "xlsx_clean.clean_cells:main"
|
|
xlsx-clean-web = "xlsx_clean.web_app:main"
|
|
|
|
[project.optional-dependencies]
|
|
desktop = [
|
|
"pyinstaller>=6.21.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/xlsx_clean"]
|
|
|
|
[tool.hatch.build.targets.wheel.force-include]
|
|
"src/xlsx_clean/file_data.csv" = "xlsx_clean/file_data.csv"
|
|
"src/xlsx_clean/strings.txt" = "xlsx_clean/strings.txt"
|
|
"src/xlsx_clean/new_xslx.bat" = "xlsx_clean/new_xslx.bat"
|
|
|
|
[tool.uv]
|
|
package = true
|
|
|
|
# Version bumps: `uvx bump-my-version bump patch|minor|major`
|
|
# current_version falls back to [project].version above.
|
|
[tool.bumpversion]
|
|
commit = false
|
|
tag = false
|
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
serialize = ["{major}.{minor}.{patch}"]
|
|
message = "Bump version: {current_version} → {new_version}"
|
|
tag_name = "v{new_version}"
|
|
tag_message = "Bump version: {current_version} → {new_version}"
|
|
|
|
[[tool.bumpversion.files]]
|
|
filename = "pyproject.toml"
|
|
search = 'version = "{current_version}"'
|
|
replace = 'version = "{new_version}"'
|