Add poetry and fix CICD
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-01-20 14:55:08 +02:00
parent 38f78cf007
commit d3251806fa
12 changed files with 490 additions and 30 deletions

View File

@@ -2,5 +2,30 @@
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"test.py",
]
"tests",
]
python_files = [
"test*.py",
]
[tool.poetry]
name = "python-hvac"
version = "0.1.1"
description = "Python HVAC for experiments"
authors = ["Igor I Shatunov <raider@psynet.su>"]
license = "BSD"
packages = [ { include = "app" }, ]
[tool.poetry.scripts]
python-hvac = "app.main:main"
[tool.poetry.dependencies]
python = "^3.10"
hvac = "^1.0.2"
[tool.poetry.dev-dependencies]
pytest = "^7.2.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"