[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2019-09-03 Thread Dirkjan Ochtman
Change by Dirkjan Ochtman : -- nosy: -djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2019-03-15 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2015-04-22 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -Jean-Paul Calderone, exarkun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2015-04-22 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: It's only been six years, no need to rush. -- nosy: +Jean-Paul Calderone ___ Python tracker ___

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2015-04-21 Thread Mark Lawrence
Mark Lawrence added the comment: I'm assuming that this will not be implemented until 3.6. -- nosy: +BreamoreBoy versions: +Python 3.6 -Python 3.3 ___ Python tracker ___ _

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2010-12-13 Thread R. David Murray
Changes by R. David Murray : -- type: -> feature request versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2010-11-17 Thread Éric Araujo
Éric Araujo added the comment: (Side note: Specifying optional/required extensions from the command line may be an interesting new feature in distutils2.) -- nosy: +eric.araujo versions: -Python 2.6, Python 2.7, Python 3.1 ___ Python tracker

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2010-10-28 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: > `make` will return error: No it will not. I just tested it: on my Linux system, _bsddb was not built, yet make reported success even after installing your patch. -- ___ Python tracker

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-20 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: > Ok - but your patch does not implement that. If the extension > fails to compile because the header files are not installed at all, > even with your patch, there is no error indication. `make` will return error: $ cat Makefile x:

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: >> Wouldn't be more interesting to add an option where you tell >> exactly which modules aren't expected to be compiled successfully ? >> If any modules besides those specified are not built, then setup.py >> returns 1. > > It's good idea. The option of `confi

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: > When building of an extension has failed due to external reasons (e.g. > headers from too old version of a Python dependency), user might prefer > to be forced to fix these reasons, than to have Python built without an > extension. Ok - but your patch does n

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-20 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: > Wouldn't be more interesting to add an option where you tell > exactly which modules aren't expected to be compiled successfully ? > If any modules besides those specified are not built, then setup.py > returns 1. It's good idea. The opti

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-20 Thread Guilherme Polo
Guilherme Polo added the comment: Wouldn't be more interesting to add an option where you tell exactly which modules aren't expected to be compiled successfully ? If any modules besides those specified are not built, then setup.py returns 1. I, for instance, don't care if the _bsddb extension d

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-20 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: When building of an extension has failed due to external reasons (e.g. headers from too old version of a Python dependency), user might prefer to be forced to fix these reasons, than to have Python built without an extension. If `make` doesn

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: >> When they then try to track down the problems, they will >> (then rightly) complain that the implemented behavior is >> incorrect. > > setup.py could optionally fail immediately when building of an > extension has failed. What about skipped extensions (i.e

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-19 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: > When they then try to track down the problems, they will > (then rightly) complain that the implemented behavior is > incorrect. setup.py could optionally fail immediately when building of an extension has failed. -- ___

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: > If it's not a problem, then the invoker doesn't need to check the exit > code of setup.py. Why are you resistant to exposing more information? Because I believe that the information that is being exposed in this patch is confusing, and will trick people int

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-19 Thread Guilherme Polo
Guilherme Polo added the comment: > If it's not a problem, then the invoker doesn't need to check the exit > code of setup.py. Suppose the _tkinter module failed to compile on a given system, how would you know if this is a problem or not ? setup.py would return 1 because it couldn't be built,

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-19 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: If it's not a problem, then the invoker doesn't need to check the exit code of setup.py. Why are you resistant to exposing more information? -- ___ Python tracker ___

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: > This makes it more easily possible for automated systems to detect that > there was a problem with the build. How do you define "problem" in this context? Why is it a problem if some extension module did not get built? Perhaps it cannot build correctly on th

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-19 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: This makes it more easily possible for automated systems to detect that there was a problem with the build. Checking an exit code is easy. Grabbing and parsing stdout and stderr is hard and fragile. -- nosy: +exarkun

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: Why is it desirable to have such an option? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2009-08-19 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: An option of `configure` could be added, whose enabling would change this behavior. -- title: Non-zero exit status of setup.py when building of extensions has failed -> Add option of non-zero exit status of setup.py when building o