Add pyproject.toml with dependencies and ruff config
This commit is contained in:
parent
80b0cc0aa8
commit
cec9df2fc3
1 changed files with 33 additions and 0 deletions
33
pyproject.toml
Normal file
33
pyproject.toml
Normal 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"]
|
||||||
Loading…
Reference in a new issue