[Python-Dev] Can Python Be Built Without Distutils
Gregory P. Smith
greg at krypto.org
Sat Jan 31 00:26:08 CET 2015
On Sun Jan 25 2015 at 7:08:53 AM Antoine Pitrou <solipsis at pitrou.net> wrote:
> On Sun, 25 Jan 2015 05:22:48 +0000
> "Gregory P. Smith" <greg at krypto.org> wrote:
> > Why doesn't our Makefile supply that flag with the make parallelism level
> > in the sharedmods step?
> If I run "make -j4" here, it works (on the default branch).
Thanks, glad to see that this was added! :)
This looks like a feature that was added in 3.5. Rather than passing the
flag to setup.py from the Makefile (where I had been looking for it),
setup.py looks at the MAKEFLAGS environment variable and turns on
distutils.common.build_ext's parallel flag if "-j" is found in that. By
default it will then do a parallel build using os.cpu_count() number of
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev