From a3de0e8bc6ce7bc13f1e0b5329e84275b1e71da8 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sat, 6 Apr 2024 20:42:30 -0400 Subject: [PATCH] Include LICENSE files in source distribution (#2855) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Closes https://github.com/astral-sh/uv/issues/2724. ## Test Plan Ran `maturin sdist`: ![Screenshot 2024-04-06 at 8 08 38 PM](https://github.com/astral-sh/uv/assets/1309177/48ef10d2-407a-4280-b7c0-e38591a28317) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 35549781d..e1d38c54e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ manifest-path = "crates/uv/Cargo.toml" module-name = "uv" python-source = "python" strip = true -include = ["rust-toolchain.toml"] +include = [{ path = "rust-toolchain.toml", format = ["sdist", "wheel"] }, { path = "LICENSE-APACHE", format = "sdist" }, { path = "LICENSE-MIT", format = "sdist" }] [tool.rooster] major_labels = [] # We do not use the major version number