aboutsummaryrefslogtreecommitdiff
path: root/setup.cfg
blob: 10257d3b948ab73d56719dc2c28633c6b3123eae (plain)
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
[metadata]
name = nxt-python
version = 3.2.0
author = Nicolas Schodet
author_email = nico@ni.fr.eu.org
description = LEGO Mindstorms NXT Control Package
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/schodet/nxt-python/
classifiers =
	Programming Language :: Python :: 3
	Programming Language :: Python :: 3 :: Only
	Programming Language :: Python :: 3.8
	Programming Language :: Python :: 3.9
	Programming Language :: Python :: 3.10
	Programming Language :: Python :: 3.11
	License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
	Operating System :: OS Independent

[options]
zip_safe = True
packages =
	nxt
	nxt.backend
	nxt.sensor
scripts =
	scripts/nxt_filer
	scripts/nxt_push
	scripts/nxt_server
	scripts/nxt_test
python_requires = >=3.8
install_requires =
	pyusb >= 1.2.1

[options.extras_require]
bluetooth =
	pybluez >= 0.23; platform_system == 'Linux'
	pybluez >= 0.23; platform_system == 'Windows'
	pybluez >= 0.23; platform_system == 'Darwin'
dev =
	pytest >= 6.0.2
	coverage >= 5.1
	pre-commit >= 2.10.1
	check-manifest >= 0.48
	sphinx >= 3.4.3
	sphinx-rtd-theme >= 0.5.1
	sphinx-autodoc-typehints >= 1.12.0
	tox >= 3.21.4

[flake8]
max-line-length = 88

[isort]
profile = black

[tool:pytest]
addopts = --doctest-modules
testpaths = nxt tests

[coverage:run]
command_line =
	-m pytest
source =
	nxt

[check-manifest]
ignore =
	.builds/*