mirror of
https://github.com/astral-sh/uv
synced 2026-01-22 14:00:11 -05:00
## Summary This PR exposes uv's PEP 517 implementation via a `uv build` frontend, such that you can use `uv build` to build source and binary distributions (i.e., wheels and sdists) from a given directory. There are some TODOs that I'll tackle in separate PRs: - [x] Support building a wheel from a source distribution (rather than from source) (#6898) - [x] Stream the build output (#6912) Closes https://github.com/astral-sh/uv/issues/1510 Closes https://github.com/astral-sh/uv/issues/1663.
72 lines
2.4 KiB
TOML
72 lines
2.4 KiB
TOML
[package]
|
|
name = "uv-dev"
|
|
version = "0.0.1"
|
|
description = "Build wheels from source distributions"
|
|
publish = false
|
|
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
distribution-filename = { workspace = true }
|
|
distribution-types = { workspace = true }
|
|
pep508_rs = { workspace = true }
|
|
pypi-types = { workspace = true }
|
|
uv-cache = { workspace = true, features = ["clap"] }
|
|
uv-cli = { workspace = true }
|
|
uv-client = { workspace = true }
|
|
uv-installer = { workspace = true }
|
|
uv-macros = { workspace = true }
|
|
uv-options-metadata = { workspace = true }
|
|
uv-python = { workspace = true }
|
|
uv-settings = { workspace = true, features = ["schemars"] }
|
|
uv-workspace = { workspace = true, features = ["schemars"] }
|
|
|
|
# Any dependencies that are exclusively used in `uv-dev` should be listed as non-workspace
|
|
# dependencies, to ensure that we're forced to think twice before including them in other crates.
|
|
anstream = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true, features = ["derive", "wrap_help"] }
|
|
fs-err = { workspace = true, features = ["tokio"] }
|
|
itertools = { workspace = true }
|
|
markdown = { version = "0.3.0" }
|
|
owo-colors = { workspace = true }
|
|
poloto = { version = "19.1.2", optional = true }
|
|
pretty_assertions = { version = "1.4.0" }
|
|
resvg = { version = "0.29.0", optional = true }
|
|
schemars = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tagu = { version = "0.1.6", optional = true }
|
|
textwrap = { workspace = true }
|
|
tokio = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-durations-export = { workspace = true, features = ["plot"] }
|
|
tracing-subscriber = { workspace = true }
|
|
walkdir = { workspace = true }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
mimalloc = { version = "0.1.39" }
|
|
|
|
[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies]
|
|
tikv-jemallocator = { version = "0.6.0" }
|
|
|
|
[[bin]]
|
|
name = "uv-dev"
|
|
# We don't want to build the dev CLI by default, so we skip it by requiring an off-by-default feature
|
|
required-features = ["dev"]
|
|
|
|
[features]
|
|
default = []
|
|
# Actually build the dev CLI.
|
|
dev = []
|
|
render = ["poloto", "resvg", "tagu"]
|