You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iTi-Flask/copier-template/pyproject.toml.jinja

34 lines
1007 B
Django/Jinja

[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "{{ project_slug | replace('_', '-') }}"
version = "0.3.0"
description = "{{ project_name }}"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"iti-flask @ git+{{ framework_git }}{% if framework_tag %}@{{ framework_tag }}{% endif %}",
{% if include_system %} "iti-system @ git+{{ system_git }}{% if system_tag %}@{{ system_tag }}{% endif %}",
{% endif %}{% if database_dialect == "postgresql" %} "psycopg[binary]>=3.2.0",
{% endif -%}
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"httpx>=0.27.0",
]
[tool.setuptools.packages.find]
include = ["app*"]
[tool.pytest.ini_options]
pythonpath = ["."]
[tool.uv.sources]
iti-flask = { git = "{{ framework_git }}"{% if framework_tag %}, tag = "{{ framework_tag }}"{% endif %} }
{% if include_system %}iti-system = { git = "{{ system_git }}"{% if system_tag %}, tag = "{{ system_tag }}"{% endif %} }
{% endif -%}