-
I recently pushed a maturin-built project to pypi, mostly for fun profit, using maturin's own github action. I was surprised to find that a point release built and deployed by maturin's default github action consumes around 20mb of space on pypi, which clocks in against pypi's default upload limit of 100mb. Maturin builds 65 wheels by default, each of which comes in at around 300kb (yielding around 20mb in total) for me. Having configured for stripped lto builds, most (around 250kb) of the binary is consumed by stdlib. It seems unfeasible to reduce the size of the binary further. Am I missing something obvious here? My impression is that building 65 wheels in a default configuration, which immediately consumes one fives of pypi's upload limit, for a project which brings in around 50kb of own code, seems rather excessive. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This sounds like way more wheels than i'd expect, are you using the |
Beta Was this translation helpful? Give feedback.
I would highly recommend trying the
abi3
feature, this will reduce the number of builds to one per target triple instead of one per target triples and python version.