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