You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

79 lines
2.2 KiB

[build-system]
requires = [
"scikit-build-core>=0.8",
"pybind11>=2.11",
"numpy>=1.20",
]
build-backend = "scikit_build_core.build"
[project]
name = "pyngspice"
version = "43.0.0"
description = "Python bindings for ngspice circuit simulator (pyTesla backend)"
license = {text = "BSD-3-Clause"}
requires-python = ">=3.9"
authors = [
{name = "ngspice team", email = "ngspice-devel@lists.sourceforge.net"},
]
keywords = ["spice", "circuit", "simulation", "electronics", "EDA", "tesla-coil"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Programming Language :: C",
"Programming Language :: C++",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
]
dependencies = [
"numpy>=1.20",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
]
[project.urls]
Homepage = "https://ngspice.sourceforge.io/"
Documentation = "https://ngspice.sourceforge.io/docs.html"
Repository = "https://sourceforge.net/p/ngspice/ngspice/"
Issues = "https://sourceforge.net/p/ngspice/bugs/"
[tool.scikit-build]
cmake.version = ">=3.18"
cmake.build-type = "Release"
cmake.args = ["-G", "MinGW Makefiles", "-DCMAKE_VERBOSE_MAKEFILE=ON"]
ninja.make-fallback = true
wheel.packages = ["pyngspice"]
wheel.install-dir = "pyngspice"
build-dir = "build/{wheel_tag}"
editable.mode = "inplace"
[tool.scikit-build.cmake.define]
BUILD_PYTHON_BINDINGS = "ON"
ENABLE_XSPICE = "ON"
ENABLE_OSDI = "ON"
[tool.cibuildwheel]
build = "cp39-* cp310-* cp311-* cp312-*"
skip = "*-musllinux_* *-manylinux_i686"
[tool.cibuildwheel.linux]
before-all = "yum install -y bison flex"
manylinux-x86_64-image = "manylinux2014"
[tool.cibuildwheel.macos]
before-all = "brew install bison flex"
[tool.cibuildwheel.windows]
before-all = "choco install winflexbison3 -y"