|
| 1 | +[tool.poetry] |
| 2 | +name = "nxt-python" |
| 3 | +version = "3.2.0" |
| 4 | +description = "LEGO Mindstorms NXT Control Package" |
| 5 | +authors = ["Nicolas Schodet <nico@ni.fr.eu.org>"] |
| 6 | +license = "GPL-3.0-or-later" |
| 7 | +readme = "README.md" |
| 8 | +homepage = "https://ni.srht.site/nxt-python/latest/" |
| 9 | +packages = [{ include = "nxt" }] |
| 10 | +include = [ |
| 11 | + { path = "logo.svg", format = "sdist" }, |
| 12 | + { path = "tox.ini", format = "sdist" }, |
| 13 | + { path = "scripts/python-nxt-filer.desktop", format = "sdist" }, |
| 14 | + { path = "scripts/nxt_*", format = "sdist" }, |
| 15 | + { path = "contrib", format = "sdist" }, |
| 16 | + { path = "docs/Makefile", format = "sdist" }, |
| 17 | + { path = "docs/conf.py", format = "sdist" }, |
| 18 | + { path = "docs/favicon.ico", format = "sdist" }, |
| 19 | + { path = ".pre-commit-config.yaml", format = "sdist" }, |
| 20 | + { path = "docs/**/*.rst", format = "sdist" }, |
| 21 | + { path = "examples", format = "sdist" }, |
| 22 | + { path = "setup.cfg", format = "sdist" }, |
| 23 | + { path = "tests", format = "sdist" }, |
| 24 | +] |
| 25 | + |
| 26 | +[tool.poetry.dependencies] |
| 27 | +python = "^3.8" |
| 28 | +pyusb = "^1.2.1" |
| 29 | +pybluez = { version = "^0.23", optional = true } |
| 30 | + |
| 31 | +[tool.poetry.extras] |
| 32 | +bluetooth = ["pybluez"] |
| 33 | + |
| 34 | +[tool.poetry.group.dev.dependencies] |
| 35 | +pytest = "^7.2.1" |
| 36 | +coverage = "^6.5.0" |
| 37 | +pre-commit = "^3.0.4" |
| 38 | +isort = "^5.12.0" |
| 39 | +black = "^23.1.0" |
| 40 | +flake8 = "^5.0.4" |
| 41 | +sphinx = "^5.3.0" |
| 42 | +sphinx-rtd-theme = "^1.2.0" |
| 43 | +sphinx-autodoc-typehints = "^1.12.0" |
| 44 | +tox = "^3.28.0" |
| 45 | + |
1 | 46 | [build-system] |
2 | | -requires = ["setuptools", "wheel"] |
3 | | -build-backend = "setuptools.build_meta" |
| 47 | +requires = ["poetry-core"] |
| 48 | +build-backend = "poetry.core.masonry.api" |
0 commit comments