spice2wireviz/pyproject.toml
Ryan Malloy 5a5337566c Add BOM output, fix LTspice Tier 2 import, real .asc integration tests
- Fix _try_ltspice_generation() to use spicelib.simulators.ltspice_simulator.LTspice
  instead of the abstract Simulator base class (which always returned unavailable)
- Use LTspice.create_netlist() instead of Simulator.run() for correct netlist generation
- Add --ltspice-exe CLI option to specify LTspice binary path
- Add --bom flag for component BOM CSV output (works on any parse completeness)
- Add --bom-wiring flag for wiring BOM CSV from mapped output
- Add real 1002A.asc demo circuit and pre-generated .net as test fixtures
- Add @pytest.mark.ltspice marker for tests requiring LTspice binary
- Bump version to 2026.2.14
2026-02-13 07:00:39 -07:00

56 lines
1.6 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "spice2wireviz"
version = "2026.2.14"
description = "Convert LTspice SPICE netlists to WireViz wiring diagrams"
authors = [{name = "Ryan Malloy", email = "ryan@supported.systems"}]
requires-python = ">=3.11"
license = {text = "MIT"}
readme = "README.md"
keywords = ["spice", "wireviz", "ltspice", "netlist", "wiring", "harness", "electronics", "eda"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Manufacturing",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
]
dependencies = [
"pyyaml>=6.0",
"click>=8.0",
"pydantic>=2.0",
]
[project.urls]
Homepage = "https://git.supported.systems/warehack.ing/spice2wireviz"
Repository = "https://git.supported.systems/warehack.ing/spice2wireviz"
Issues = "https://git.supported.systems/warehack.ing/spice2wireviz/issues"
[project.optional-dependencies]
asc = ["spicelib>=1.4.9"]
dev = ["ruff", "pytest", "pytest-cov"]
[project.scripts]
spice2wireviz = "spice2wireviz.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/spice2wireviz"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP", "B", "SIM", "RUF"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = ["ltspice: requires LTspice binary installed locally"]