forked from pyvisa/pyvisa-py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
106 lines (95 loc) · 2.61 KB
/
setup.cfg
File metadata and controls
106 lines (95 loc) · 2.61 KB
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
[metadata]
name = PyVISA-py
author = Hernan E. Grecco
author_email = hernan.grecco@gmail.com
maintainer = Matthieu C. Dartiailh
maintainer_email = m.dartiailh@gmail.com
license = MIT License
description = Python VISA bindings for GPIB, RS232, and USB instruments
keywords =
Remote
VISA
GPIB
USB
serial
RS232
measurement
acquisition
url = https://github.com/pyvisa/pyvisa-py
long_description = file: README.rst, AUTHORS, CHANGES
long_description_content_type = text/x-rst
classifiers =
Development Status :: 4 - Beta
Intended Audience :: Developers
Intended Audience :: Science/Research
License :: OSI Approved :: MIT License
Operating System :: Microsoft :: Windows
Operating System :: POSIX :: Linux
Operating System :: MacOS :: MacOS X
Programming Language :: Python
Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator
Topic :: Software Development :: Libraries :: Python Modules
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
platforms = Linux; Windows; Mac
[options]
packages =
pyvisa_py
pyvisa_py.protocols
pyvisa_py.testsuite
zip_safe = False
install_requires =
pyvisa>=1.11.0
typing_extensions
importlib-metadata; python_version<"3.8"
setup_requires = setuptools>=42; wheel; setuptools_scm[toml]>=3.4.3
python_requires = >=3.6
use_2to3 = False
[options.extras_require]
gpib-ctypes = gpib-ctypes>=0.3.0
serial = pyserial>=3.0
usb = pyusb
[flake8]
exclude =
.git,
__pycache__,
docs/source/conf.py,
old,
build,
dist,
ignore = E203, E266, E501, W503, E731
# line length is intentionally set to 80 here because pyvisa uses Bugbear
# See https://github.com/psf/black/blob/master/README.md#line-length for more details
max-line-length = 80
max-complexity = 18
select = B,C,E,F,W,T4,B9
per-file-ignores =
pyvisa_py/protocols/vxi11.py:E221
pyvisa_py/serial.py:C901
[mypy]
follow_imports = normal
strict_optional = True
[mypy-usb.*]
ignore_missing_imports = True
[mypy-serial.*]
ignore_missing_imports = True
[mypy-gpib.*]
ignore_missing_imports = True
[mypy-Gpib.*]
ignore_missing_imports = True
[mypy-gpib_ctypes.*]
ignore_missing_imports = True
# XXX Ideally remove once pytest ships typing information
[mypy-pytest.*]
ignore_missing_imports = True
[isort]
multi_line_output = 3
include_trailing_comma = true
combine_as_imports = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
skip = pyvisa-py/__init__.py
known_third_party = numpy,setuptools,typing_extensions,pyvisa,pytest