<p dir="ltr">Wheel has a proposal for a "wheel pack" command that might help you.</p>
<br><div class="gmail_quote"><div dir="ltr">On Thu, Apr 28, 2016, 12:46 Steve Dower <<a href="mailto:steve.dower@python.org">steve.dower@python.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 27Apr2016 1445, Paul Moore wrote:<br>
> Personally, I agree with Donald that the "normal" process of building<br>
> a distribution should be:<br>
><br>
> 1. Build the sdist.<br>
> 2. Build wheels *from* that sdist.<br>
> 3. Check the built sdist and wheels.<br>
> 4. Upload the files once you've confirmed they are OK.<br>
><br>
> The tools should make that as transparent as possible (I'm not averse<br>
> to a command that builds sdist and wheels together, but such a command<br>
> could easily use the sdist to build the wheels "behind the scenes")<br>
> and there may be special cases (incremental builds of wheels when a<br>
> full recompile is a significant cost) but those are quality of<br>
> implementation details.<br>
<br>
One extra task that I often need is the ability to separate bdist_ext<br>
from bdist_wheel, so that I can apply modifications to built modules<br>
(e.g. code signing) before packaging up the wheel.<br>
<br>
There's probably a way to insert this step using a setuptools extension<br>
or a setup.py hack, but it's actually most convenient to have two<br>
completely separate commands (or options) for building and packaging.<br>
<br>
Cheers,<br>
Steve<br>
_______________________________________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org" target="_blank">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
</blockquote></div>