mirror of https://github.com/astral-sh/uv
26 lines
809 B
TOML
26 lines
809 B
TOML
[project]
|
|
name = "built-by-uv"
|
|
version = "0.1.0"
|
|
description = "A package to be built with the uv build backend that uses all features exposed by the build backend"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = ["anyio>=4,<5"]
|
|
license-files = ["LICENSE*", "third-party-licenses/*"]
|
|
|
|
[tool.uv.build-backend]
|
|
# A file we need for the source dist -> wheel step, but not in the wheel itself (currently unused)
|
|
source-include = ["data/build-script.py"]
|
|
# A temporary or generated file we want to ignore
|
|
source-exclude = ["/src/built_by_uv/not-packaged.txt", "__pycache__", "*.pyc", "*.pyo"]
|
|
# Headers are build-only
|
|
wheel-exclude = ["build-*.h"]
|
|
|
|
[tool.uv.build-backend.data]
|
|
scripts = "scripts"
|
|
data = "assets"
|
|
headers = "header"
|
|
|
|
[build-system]
|
|
requires = ["uv>=0.4.15,<5"]
|
|
build-backend = "uv"
|