On Fri, Jul 7, 2017 at 9:45 PM, Nick Coghlan <ncogh...@gmail.com> wrote: > On 7 July 2017 at 23:23, Daniel Holth <dho...@gmail.com> wrote: >> FYI distutils supports out of tree builds too. It is the -b argument to >> 'setup.py build'. > > Sort of. That's short for "--bdist-dir" and tells distutils/setuptools > not to use the "dist/" subdirectory for either build trees or the > build artifacts. It doesn't say anything about where intermediate > artifacts generated by compilers etc should end up.
No, Daniel is correct. "setup.py *build* -b" is short for --build-base which is where all build artifacts go, even those from compilers. It seems you are confusing it with "setup.py *bdist* -b" which is indeed short for "--bdist-dir". -- Jeremy Kloth _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig