Since I have to run many setup.py develop/build I wanted to try to
parallelize the calls.
The normal setup.py is something like

from setuptools import setup

setup(...)

But I was wondering, why isn't it

from setuptools import setup

if __name__ == '__main__':
      setup(...)

In this way it would be possible to import the setup file without
actually running any code.
What I don't really like in fact is to be forced to call an external
subprocess call just to run
some other python code..
And in that way I would have more control also on the output and the
errors that I receive,
does it make sense?

Going back to the original question, parallelizing many build/develop
calls can be actually
faster or is the same in case the hard disk is still only one?
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to