fix pytest11 entrypoint, add wip scripts

This commit is contained in:
Daniel 2023-12-06 14:25:25 +01:00
parent 87fcab5b29
commit a23a9810dd
2 changed files with 16 additions and 4 deletions

View file

@ -25,16 +25,27 @@ dependencies = [
"icecream",
]
[project.scripts]
pytest11 = "pytest_abra:pytest_abra"
[project.entry_points]
pytest11 = [
"pytest_abra = pytest_abra.pytest_abra",
]
[tool.setuptools]
package-dir = {"" = ""}
[project.scripts]
abrademo = "pytest_abra:demo"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = [
"pytest_abra/*.py",
]
exclude = [
"*.json",
]
[tool.ruff]
line-length = 120
target-version = "py311"

1
pytest_abra/demo.py Normal file
View file

@ -0,0 +1 @@
print("wooooorking")