-
Notifications
You must be signed in to change notification settings - Fork 77
/
Copy pathpyproject.toml
62 lines (56 loc) · 1.79 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
[tool.poetry]
name = "nxt-python"
version = "3.5.1"
description = "LEGO Mindstorms NXT Control Package"
authors = ["Nicolas Schodet <[email protected]>"]
license = "GPL-3.0-or-later"
readme = "README.md"
homepage = "https://sr.ht/~ni/nxt-python/"
repository = "https://git.sr.ht/~ni/nxt-python"
documentation = "https://ni.srht.site/nxt-python/latest/"
packages = [{ include = "nxt" }]
include = [
{ path = "logo.svg", format = "sdist" },
{ path = "tox.ini", format = "sdist" },
{ path = "scripts/python-nxt-filer.desktop", format = "sdist" },
{ path = "scripts/nxt_*", format = "sdist" },
{ path = "scripts/README", format = "sdist" },
{ path = "contrib", format = "sdist" },
{ path = "docs/Makefile", format = "sdist" },
{ path = "docs/conf.py", format = "sdist" },
{ path = "docs/favicon.ico", format = "sdist" },
{ path = ".pre-commit-config.yaml", format = "sdist" },
{ path = "docs/**/*.rst", format = "sdist" },
{ path = "examples", format = "sdist" },
{ path = "setup.cfg", format = "sdist" },
{ path = "tests", format = "sdist" },
]
[tool.poetry.scripts]
nxt-push = "nxt.command.push:run"
nxt-server = "nxt.command.server:run"
nxt-screenshot = "nxt.command.screenshot:run"
nxt-test = "nxt.command.test:run"
[tool.poetry.dependencies]
python = "^3.9"
pyusb = "^1.2.1"
pybluez = { version = "^0.23", optional = true }
pillow = { version = "^9.4.0", optional = true }
[tool.poetry.extras]
bluetooth = ["pybluez"]
screenshot = ["pillow"]
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"
coverage = "^6.5.0"
pre-commit = "^3.0.4"
isort = "^5.12.0"
black = "^23.1.0"
flake8 = "^5.0.4"
mypy = "^1.0.1"
sphinx = "^5.3.0"
sphinx-rtd-theme = "^1.2.0"
tox = "^3.28.0"
[tool.poetry.group.nxt-screen.dependencies]
pygame = "^2.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"