File: setup.cfg

package info (click to toggle)
gpiozero 2.0.1-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,192 kB
  • sloc: python: 15,355; makefile: 246
file content (129 lines) | stat: -rw-r--r-- 3,031 bytes parent folder | download
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
[metadata]
name = gpiozero
version = 2.0.1
description = A simple interface to GPIO devices with Raspberry Pi
long_description = file:README.rst
author = Ben Nuttall
author_email = ben@bennuttall.com
url = https://gpiozero.readthedocs.io/
project_urls =
    Documentation = https://gpiozero.readthedocs.io/
    Source Code = https://github.com/gpiozero/gpiozero
    Issue Tracker = https://github.com/gpiozero/gpiozero/issues
keywords = raspberrypi gpio
license = BSD-3-Clause
classifiers =
    Development Status :: 5 - Production/Stable
    Intended Audience :: Education
    Intended Audience :: Developers
    Topic :: Education
    Topic :: System :: Hardware
    License :: OSI Approved :: BSD License
    Programming Language :: Python :: 3.9
    Programming Language :: Python :: 3.10
    Programming Language :: Python :: 3.11
    Programming Language :: Python :: 3.12
    Programming Language :: Python :: Implementation :: PyPy

[options]
packages = find:
python_requires = >=3.9
install_requires =
    colorzero
    importlib_resources~=5.0;python_version<'3.10'
    importlib_metadata~=4.6;python_version<'3.10'

[options.package_data]
gpiozero =
    fonts/*.txt

[options.extras_require]
test =
    pytest
    pytest-cov
doc =
    sphinx>=4.0
    sphinx-rtd-theme>=1.0

[options.entry_points]
console_scripts =
    pinout = gpiozerocli.pinout:main
    pintest = gpiozerocli.pintest:main
gpiozero_pin_factories =
    pigpio  = gpiozero.pins.pigpio:PiGPIOFactory
    lgpio   = gpiozero.pins.lgpio:LGPIOFactory
    rpigpio = gpiozero.pins.rpigpio:RPiGPIOFactory
    native  = gpiozero.pins.native:NativeFactory
    mock    = gpiozero.pins.mock:MockFactory
gpiozero_mock_pin_classes =
    mockpin          = gpiozero.pins.mock:MockPin
    mockpwmpin       = gpiozero.pins.mock:MockPWMPin
    mockchargingpin  = gpiozero.pins.mock:MockChargingPin
    mocktriggerpin   = gpiozero.pins.mock:MockTriggerPin

[tool:pytest]
addopts = -rsx --cov --tb=short
testpaths = tests

[coverage:run]
source = gpiozero
branch = true

[coverage:report]
ignore_errors = true
show_missing = true
exclude_lines =
    pragma: no cover
    assert False
    raise AssertionError
    raise NotImplementedError
    pass
    if __name__ == .__main__.:

[copyrights:settings]
include =
  **/*.py
  **/*.rst
exclude =
  docs/examples/*.py
  docs/license.rst
license = LICENSE.rst
preamble =
  GPIO Zero: a library for controlling the Raspberry Pi's GPIO pins
strip-preamble = false

[class_graph:settings]
abstract =
    Device
    GPIODevice
    SmoothedInputDevice
    AnalogInputDevice
    MCP3xxx
    MCP3xx2
    MCP30xx
    MCP32xx
    MCP33xx
    SPIDevice
    CompositeDevice
    CompositeOutputDevice
    LEDCollection
    InternalDevice
omit =
    object
    GPIOBase
    GPIOMeta
    frozendict
    WeakMethod
    _EnergenieMaster
source =
    gpiozero/**/*.py

[previewer:settings]
command = make -C docs html
html = build/html
watch =
    gpiozero/**/*.py
    gpiozerocli/**/*.py
    docs/*.rst
    docs/examples/*.py
    docs/_static/*