File: 0004-fixes-12664-don-t-include-rust-stuff-in-wheels-12668.patch

package info (click to toggle)
python-cryptography 44.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,092 kB
  • sloc: python: 50,509; java: 319; makefile: 161
file content (32 lines) | stat: -rw-r--r-- 926 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From: Alex Gaynor <alex.gaynor@gmail.com>
Date: Thu, 27 Mar 2025 12:44:23 -0700
Subject: fixes #12664 -- don't include rust stuff in wheels (#12668)

---
 pyproject.toml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 9f92fe6..bee42fd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -90,13 +90,13 @@ include = [
 
     "docs/**/*",
 
-    "src/_cffi_src/**/*.py",
-    "src/_cffi_src/**/*.c",
-    "src/_cffi_src/**/*.h",
+    { path = "src/_cffi_src/**/*.py", format = "sdist" },
+    { path = "src/_cffi_src/**/*.c", format = "sdist" },
+    { path = "src/_cffi_src/**/*.h", format = "sdist" },
 
-    "**/Cargo.toml",
-    "**/Cargo.lock",
-    "src/rust/**/*.rs",
+    { path = "**/Cargo.toml", format = "sdist" },
+    { path = "**/Cargo.lock", format = "sdist" },
+    { path = "src/rust/**/*.rs", format = "sdist" },
 
     "tests/**/*.py",
 ]