-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
105 lines (92 loc) · 2.52 KB
/
setup.cfg
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
[metadata]
name = spectrumdevice
description = A high-level, object-oriented Python library for controlling Spectrum Instrumentation digitisers
long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8
url = https://github.com/KCL-BMEIS/spectrumdevice
author = Christian Baker, Francois Joubert
author_email = [email protected],
license = MIT
license_file = LICENSE
classifiers =
Development Status :: 4 - Beta
Intended Audience :: Science/Research
License :: OSI Approved :: MIT License
Natural Language :: English
Operating System :: POSIX :: Linux
Operating System :: Microsoft :: Windows :: Windows 10
Operating System :: MacOS :: MacOS X
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Scientific/Engineering
Typing :: Typed
project_urls =
Documentation = https://kcl-bmeis.github.io/spectrumdevice/
Source = https://github.com/KCL-BMEIS/spectrumdevice
Tracker = https://github.com/KCL-BMEIS/spectrumdevice/issues
[options]
zip_safe = False
packages = find:
package_dir =
= src
include_package_data = True
install_requires =
numpy>=1.26.2
python_requires = >=3.10
[options.packages.find]
where = src
[bdist_wheel]
universal = false
[aliases]
test=pytest
[options.extras_require]
test =
pytest == 7.4.3
dev =
flake8 == 6.1.0
flake8-bugbear == 23.9.16
black == 22.3.0
mypy == 1.6.1
types-setuptools == 67.8.0.0
doc =
pdoc == 14.5.1
examples =
matplotlib >= 3.5.0
[mypy]
python_version = 3.12
warn_unused_configs = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
# Prevent setup.py typing errors
[mypy-setup]
ignore_errors = True
# Prevent third party typing errors
[mypy-spectrum_gmbh.*]
ignore_errors = True
ignore_missing_imports = True
[mypy-matplotlib.*]
ignore_missing_imports = True
[mypy-versioneer]
ignore_errors = True
[mypy-spectrumdevice._version]
ignore_errors = True
[flake8]
exclude = .bzr,.hg,.git,__pycache__,.tox,setup.py,.eggs,spectrum_gmbh,scratch,htmlcov,.pytest_cache,.mypy_cache,.github,_version.py
max-line-length = 120
application_import_names = spectrumdevice, tests
import-order-style = pycharm
ignore=E127,E126,W504,W503,F541,E501,E203
[versioneer]
VCS = git
style = pep440
versionfile_source = src/spectrumdevice/_version.py
tag_prefix = v