File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -356,20 +356,24 @@ Spinning Wheels wiki
356356Publishing binary extensions
357357============================
358358
359- For interim guidance on this topic, see the discussion in
360- :issue: `this issue <284> `.
359+ Publishing binary extensions through PyPI uses the same upload mechanisms as
360+ publishing pure Python packages. You build a wheel file for your extension
361+ using the build-backend and upload it to PyPI using
362+ `twine <https://twine.readthedocs.io/ >`_.
361363
362- ..
364+ Avoid binary-only releases
365+ --------------------------
363366
364- FIXME
367+ It is strongly recommended that you publish your binary extensions as
368+ well as the source code that was used to build them. This allows users to
369+ build the extension from source if they need to. Notably, this is required
370+ for certain Linux distributions that build from source within their
371+ own build systems for the distro package repositories.
365372
366- * cover publishing as wheel files on PyPI or a custom index server
367- * cover creation of Windows and macOS installers
368- * cover weak linking
369- * mention the fact that Linux distros have a requirement to build from
370- source in their own build systems, so binary-only releases are strongly
371- discouraged
373+ Weak linking
374+ ------------
372375
376+ FIXME: This section needs to be fleshed out.
373377
374378Additional resources
375379====================
You can’t perform that action at this time.
0 commit comments