Add cross-platform OOXML backend alongside Windows Excel COM
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>
This commit is contained in:
@@ -8,11 +8,14 @@ authors = [
|
||||
dependencies = [
|
||||
"beaupy>=3.8.2",
|
||||
"pandas>=2.2.2",
|
||||
"pywin32>=306",
|
||||
"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"
|
||||
|
||||
Reference in New Issue
Block a user