1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
|
[project]
name = "scikit-rf"
dynamic = ["version"]
description = "Object Oriented Microwave Engineering"
requires-python = ">=3.10"
authors = [
{name="Alex Arsenovic", email="alexanderarsenovic@gmail.com"}
]
license = {text="LICENSE.txt"}
readme = "README.md"
keywords = [
"engineering",
"electronics",
"microwave-engineering",
"radio-frequency",
"touchstone"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Communications :: Ham Radio",
"Topic :: Scientific/Engineering",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"numpy >=1.21",
"scipy >=1.7",
"pandas >=1.1",
"typing-extensions",
"pre-commit>=3.5.0",
]
[project.optional-dependencies]
test = [
"pytest <9.0",
"pytest-mock >= 3.10",
"pytest-xdist >= 3.5.0",
"coverage >=6.0",
"pytest-cov >=4.0",
]
testspice = [
"pyspice >= 1.5",
]
plot = [
"matplotlib >=3.5"
]
xlsx = [
"openpyxl >=3.0"
]
netw = [
"networkx >= 2.0"
]
visa = [
"PyVISA >= 1.12",
"pyvisa-py >= 0.6"
]
docs = [
"ipython >=7",
"ipykernel >=6.15",
"ipywidgets >=8.0.2",
"python-ivi >=0.14.9",
"nbval >=0.9",
"jupyter-client >=7.3.5",
"sphinx-rtd-theme >=1.0",
"sphinx >=4",
"nbsphinx >= 0.8.9",
"openpyxl >= 3",
"typing-extensions>=4.15.0",
]
[project.urls]
homepage = "https://scikit-rf.org/"
repository = "https://github.com/scikit-rf/scikit-rf"
documentation = "https://scikit-rf.readthedocs.io/en/latest/"
[build-system]
requires = [
"setuptools >= 64",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
# license-files = ["LICENSE.txt"] # tempfix bug in setuptool
license-files = []
[tool.setuptools.dynamic]
version = {attr = "skrf.__version__"}
[tool.setuptools.packages.find]
include = ["skrf*"]
[tool.setuptools.package-data]
skrf = ["data/*.s*p", "data/*.cal", "data/*.mplstyle"]
[tool.pytest.ini_options]
testpaths = [
"skrf",
"doc/source/examples",
"doc/source/tutorials"
]
addopts = "--cov=skrf --ignore-glob='*.ipynb_checkpoints' --ignore=doc/source/tutorials/VirtualInstruments.ipynb"
norecursedirs = [
"skrf/src",
"doc/source/examples/instrumentcontrol"
]
filterwarnings = [
"error",
]
[tool.ruff]
# larger line length for rule E501 (default is 88)
line-length = 120
[tool.ruff.lint]
select = ["B", "E", "F", "FA", "I", "NPY", "UP", "W"]
# Ignore some rules for all files
# E741: ambiguous-variable-name
# UP031: Use format specifiers instead of percent format
# B905: zip-without-explicit-strict
ignore = ["E741", "UP031", "B905"]
[tool.ruff.lint.per-file-ignores]
# Ignore some rules for some specific files
# E402: imports at the beginning of file
# F401: unused-import
# F841: unused-variable
"__init__.py" = ["E402", "F401", "F403", "F405"]
"apps/*" = ["F403", "F405"]
"doc/source/conf.py" = ["E402"]
"doc/sphinxext/tests/test_docscrape.py" = ["E402", "F403", "F405"]
"*/tests/*.py"=["B018", "F841"]
|