chore: updates pyproject structure

This commit is contained in:
2026-02-26 05:45:36 -03:00
parent 12611140c7
commit 0699791091
2 changed files with 59 additions and 20 deletions

View File

@@ -1,21 +1,29 @@
[tool.poetry]
[project]
name = "diceplayer"
version = "0.0.0"
description = ""
authors = ["Vitor Hideyoshi <vitor.h.n.batista@gmail.com>", "Herbert Georg <hcgeorg@ufg.br>"]
license = "GPL-2.0-only"
description = "Python Program for Molecular Optimization in Non-Vacuum Mediums"
authors = [
{ name = "Vitor Hideyoshi", email = "vitor.h.n.batista@gmail.com" },
{ name = "Herbert Georg", email = "hcgeorg@ufg.br" }
]
readme = "README.md"
license = "GPL-2.0-only"
scripts = { diceplayer = "diceplayer.__main__:main" }
requires-python = ">=3.9"
dynamic = ["version", "dependencies"]
# Poetry configuration
[tool.poetry]
version = "0.0.0"
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
numpy = "^1.26.4"
argparse = "^1.4.0"
setproctitle = "^1.3.2"
pyyaml = "^6.0"
nptyping = "^2.5.0"
[tool.poetry.scripts]
diceplayer = "diceplayer.__main__:main"
[tool.poetry.group.dev.dependencies]
coverage = "^7.2.7"
@@ -24,6 +32,8 @@ black = "^24.4.2"
pre-commit = "^3.7.1"
poethepoet = "^0.27.0"
# Build system
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
@@ -32,6 +42,8 @@ vcs = "git"
requires = ["poetry-core"]
build-backend = "poetry_dynamic_versioning.backend"
# Development tools
[tool.poe.tasks]
hooks = "pre-commit install --config .pre-commit-config.yaml"