Linux/macOS default to surgical zip edits that clear/set cells while preserving queries, styles, and other non-worksheet parts. Windows keeps the COM + add-in path. Paths remapped via XLSX_CLEAN_ROOT; pywin32 is Windows-only. Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
32 lines
628 B
TOML
32 lines
628 B
TOML
[project]
|
|
name = "xlsx-clean"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
authors = [
|
|
{ name = "Diaco Soltanpour", email = "dyaco8464@yahoo.com" }
|
|
]
|
|
dependencies = [
|
|
"beaupy>=3.8.2",
|
|
"pandas>=2.2.2",
|
|
"pywin32>=306; sys_platform == 'win32'",
|
|
]
|
|
readme = "README.md"
|
|
requires-python = ">= 3.12"
|
|
|
|
[project.scripts]
|
|
xlsx-clean = "xlsx_clean.clean_cells:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.rye]
|
|
managed = true
|
|
dev-dependencies = []
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/xlsx_clean"]
|