Wojciech Wojtyniak <radi...@gmail.com> added the comment:

Could you please at least describe the test that you mentioned (link doesn't 
work). I added line that passes skip_build from bdist.py to its subcommands and 
it worked for me (at least for simple cases) - base.py is not called.

If bdist wouldn't call any install_* in other way then via bdist_*, then we 
could use set_undefined_options in the last ones, but I'm not sure if it's 
safe. (If it is, I can provide appropriate patch.) 

Using set_undefined_options in install_* is definitely not safe, because it 
fails if parent process has not set skip_build. Also skip_build has to be set 
to None in install_* (set_... needs that to work) which obviously breaks it. 
Actually bdist_* sets skip_build like in my patch.

Patch attached.

Anyway test_skip_build() is still broken and needs a fix.

----------
keywords: +patch
nosy: +radious
Added file: http://bugs.python.org/file21689/skip_build.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10946>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to