[project]
name = "{{project_slug}}"
description = "{{project_description}}"
version = "0.1.0"
{%- if project_author_name or project_author_email %}
authors = [
    {
        {%- if project_author_name %}name = "{{project_author_name}}"{%- endif %}
        {%- if project_author_name and project_author_email %}, {% endif %}
        {%- if project_author_email %}email = "{{project_author_email}}"{% endif -%}
    },
]
{%- endif %}
readme = "README.md"
keywords = [
    "plateforme",
]
requires-python = ">={{python_version}}"
dependencies = [
    "plateforme",
]

[build-system]
requires = ["hatchling>=1.21.0"]
build-backend = "hatchling.build"

[tool.hatch.envs.default]
path = ".venv"

[tool.plateforme.apps.default]
scripts = {setup = "python setup.py"}
build = ["setup"]
start = "main:app --port 8001"
