[Distutils] Distutils question

Daniel Holth dholth at gmail.com
Sun Jul 9 10:37:48 EDT 2017


Great, thanks! It looks like out of tree builds are supported fine even in
distutils. Properly written extensions will also find the build directory
as a property of the build command. There should be no barrier to using the
single build wheel function for the pep.

On Sun, Jul 9, 2017, 10:33 Jeremy Kloth <jeremy.kloth at gmail.com> wrote:

> On Sat, Jul 8, 2017 at 9:09 PM, Daniel Holth <dholth at gmail.com> wrote:
>
>> Unrelated to pep 517, remind me whether when invoking setup.py build -b
>> dir bdist, if the -b argument passed to the build command is supposed to
>> affect the build command run as a subcommand of bdist? Asking for a friend
>> 😸
>>
>
> "setup.py build -b {dirname} bdist" will first run the build command (and
> its sub commands build_*) then invoke the bdist command.  When bdist
> requests build to be executed, distutils will see that it is already run
> and simply continue on.  Even if a reinit is requested (for build), the
> supplied options will be applied again when the build command is finalized
> prior to running.
>
> --
> Jeremy Kloth
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170709/ec30ad4a/attachment.html>


More information about the Distutils-SIG mailing list