materia/workspaces/frontend/pyproject.toml

46 lines
1013 B
TOML
Raw Normal View History

[project]
2024-07-31 14:59:22 +05:00
name = "materia-frontend"
version = "0.1.1"
2024-07-31 14:59:22 +05:00
description = "Materia frontend"
authors = [
{name = "L-Nafaryus", email = "l.nafaryus@gmail.com"},
]
dependencies = [
"loguru<1.0.0,>=0.7.2",
]
requires-python = "<3.12,>=3.10"
readme = "README.md"
license = {text = "MIT"}
[tool.pdm]
distribution = true
[tool.pdm.dev-dependencies]
dev = [
"black<24.0.0,>=23.3.0",
"pytest<8.0.0,>=7.3.2",
"pyflakes<4.0.0,>=3.0.1",
]
[tool.pdm.build]
2024-07-31 14:59:22 +05:00
includes = [ "src/materia_frontend" ]
[tool.pdm.scripts]
2024-07-31 14:59:22 +05:00
npm-install.cmd = "npm install --prefix ./"
npm-run-build.cmd = "npm run build --prefix ./"
move-dist.shell = "rm -rf src/materia_frontend/dist && mv dist src/materia_frontend/"
pre_build.composite = [ "npm-install", "npm-run-build", "move-dist" ]
materia-frontend.call = "materia_frontend.main:client"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pyright]
reportGeneralTypeIssues = false
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]