-
Notifications
You must be signed in to change notification settings - Fork 272
/
pyproject.toml
88 lines (77 loc) · 1.94 KB
/
pyproject.toml
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
[build-system]
# AVOID CHANGING REQUIRES: IT WILL BE UPDATED BY PYSCAFFOLD!
requires = [
'pyinstaller==6.11.1',
'setuptools==75.6.0',
'setuptools_scm[toml]==8.1.0',
'uv==0.5.7',
]
build-backend = 'setuptools.build_meta'
[project]
name='NanoVNASaver'
description='GUI for the NanoVNA and derivates'
requires-python = ">=3.9"
license={file = 'LICENSE'}
classifiers =[
'Development Status :: 4 - Beta',
'Topic :: Communications :: Ham Radio' ,
'Intended Audience :: Science/Research',
'Intended Audience :: Science/Research',
'Intended Audience :: Telecommunications Industry',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
]
dependencies=[
'pyserial==3.5',
'PyQt6==6.7.1',
'PyQt6-sip==13.8.0',
'sip==6.8.6',
'numpy==2.1.3',
'scipy==1.14.1',
'Cython==3.0.11',
]
dynamic=['version', 'readme']
[project.scripts]
NanoVNASaver = 'NanoVNASaver.__main__:main'
[project.gui-scripts]
NanoVNASaver-gui = 'NanoVNASaver.__main__:main'
[tool.setuptools_scm]
# For smarter version schemes and other configuration options,
# check out https://github.com/pypa/setuptools_scm
root='.'
version_scheme = 'no-guess-dev'
write_to = 'src/NanoVNASaver/_version.py'
[tool.pytest.ini_options]
pythonpath = [
'.', 'src',
]
[tool.black]
line-length = 80
[tool.ruff]
line-length = 80
target-version = 'py311'
fix = true
show-fixes = true
unsafe-fixes = false
[tool.ruff.lint]
select = [
'E', 'W', # pycodestyle (E(rror), W(arning))
'F', # Pyflakes
'B', # flake8-bugbear
'I', # isort
'N', # pep8-naming
'PL', # pylint
'C90', # mccabe
'RUF100', # unused suppresions
]
ignore = [
'N802',
'N806',
'N999',
]
[tool.ruff.lint.mccabe]
max-complexity = 10