add gui, tests to scripts

add tox to development dependencies

major version bump
This commit is contained in:
2023-06-25 15:00:23 +01:00
parent 9d015755eb
commit 54041503c9
3 changed files with 130 additions and 21 deletions

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "vban-cmd"
version = "1.8.1"
version = "2.0.0"
description = "Python interface for the VBAN RT Packet Service (Sendtext)"
authors = ["onyx-and-iris <code@onyxandiris.online>"]
license = "MIT"
@@ -18,11 +18,26 @@ pytest-randomly = "^3.12.0"
pytest-repeat = "^0.9.1"
black = "^22.3.0"
isort = "^5.10.1"
tox = "^4.6.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
gui = "scripts:ex_gui"
obs = "scripts:ex_obs"
observer = "scripts:ex_observer"
test = "scripts:test"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py310,py311
[testenv]
allowlist_externals = poetry
commands =
poetry install -v
poetry run pytest tests/
"""