Skip to content

Commit 8b54d0a

Browse files
committed
pip: Document artifact-policy
1 parent 770d71d commit 8b54d0a

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

pip/readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,18 @@ platform tags for other architectures are inferred from it.
7878
./flatpak-pip-generator --runtime org.freedesktop.Sdk//25.08 --prefer-wheels=cryptography,cffi --wheel-arches x86_64,ppc64le cryptography
7979
```
8080

81+
### Advanced usage
82+
83+
Artifact policy can be specified on a per-module basis, although this
84+
option is generally not recommended. The available policies are
85+
`universal`, `sdist`, and `platform`, corresponding to universal
86+
wheels, source distributions, and platform-specific wheels,
87+
respectively.
88+
89+
```
90+
./flatpak-pip-generator --runtime org.freedesktop.Sdk//25.08 --artifact-policy cryptography=sdist --artifact-policy cffi=platform cryptography
91+
```
92+
8193
## Options
8294

8395
```

0 commit comments

Comments
 (0)