Add pyproject.toml with dependencies and ruff config

This commit is contained in:
Jared Miller 2026-02-12 19:42:14 -05:00
parent 80b0cc0aa8
commit cec9df2fc3
Signed by: shmup
GPG key ID: 22B5C6D66A38B06C

33
pyproject.toml Normal file
View file

@ -0,0 +1,33 @@
[project]
name = "playscii"
version = "9.18"
description = "ascii art and game creation tool"
requires-python = ">=3.12"
dependencies = [
"appdirs",
"numpy",
"Pillow",
"PyOpenGL",
"PySDL2",
"packaging",
]
[dependency-groups]
dev = [
"ruff",
"pytest",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
src = ["."]
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.pytest.ini_options]
testpaths = ["tests"]