msg60550 - (view) |
Author: daishi (daishiharada) |
Date: 2004-08-18 00:36 |
This is somewhat related to Bug#818201, in that it involves that fact that the --build-base option only appears to be operational under the build command. Hence it is not possible to do: python setup.py install -b The --help for install does not say that one can, so the situation is not as inconsistent as in the previous bug report. Nevertheless, it is problematic that once one does: python setup.py build -b as far as I can tell there is _no way_ to just install the result. One needs to always do: python setup.py build -b install This seems somewhat unwieldy; perhaps -b should be more universally available to all distutil commands? |
|
|
msg114464 - (view) |
Author: Éric Araujo (eric.araujo) *  |
Date: 2010-08-20 23:08 |
Thanks for the report. distutils does not get new features anymore. This gives us time to focus on distutils2, the next generation. Thanks to the configure command (#8254), the functionality you require will be easily supported in distutils2. I’ll get back to this feature when configure is 100% finished and merged into the main repo. |
|
|
msg146440 - (view) |
Author: Éric Araujo (eric.araujo) *  |
Date: 2011-10-26 16:06 |
Actually I think this bug can be fixed in distutils. |
|
|
msg147496 - (view) |
Author: Éric Araujo (eric.araujo) *  |
Date: 2011-11-12 15:05 |
I’ve found a distutils commit that shows that this option was removed on purpose, because people might except that using “install -b foo” would affect the build command, but it does not. I don’t think it’s a problem. For people who run build and install in separate steps, it should be possible to say “build -b spam” and then “install -b spam”. |
|
|
msg224729 - (view) |
Author: Ezio Melotti (ezio.melotti) *  |
Date: 2014-08-04 14:55 |
Éric, can this be closed then? |
|
|
msg224748 - (view) |
Author: Éric Araujo (eric.araujo) *  |
Date: 2014-08-04 18:20 |
In my previous message I meant that I agreed with the original request, i.e. add --build-base to install. I will probably never have the time to write a patch. |
|
|
msg225163 - (view) |
Author: Sean McCully (seanmccully) * |
Date: 2014-08-10 21:40 |
Please advise any changes that need to be made, this is technically my second patch submission to cpython. I also had trouble running the unittests when backporting to 2.7. Look at distutils, there wasn't a clear method for linking commands to share common options. This led to the solution provided which searches command options provided (via command line or configuration) for any shared options between command being ran and commands specified. Patch for Python 3.4 attached. |
|
|
msg225164 - (view) |
Author: Sean McCully (seanmccully) * |
Date: 2014-08-10 21:41 |
Attachng Python 3.5/default branch patch. |
|
|
msg225165 - (view) |
Author: Sean McCully (seanmccully) * |
Date: 2014-08-10 21:41 |
Attaching Python 2.7 patch. |
|
|
msg348620 - (view) |
Author: STINNER Victor (vstinner) *  |
Date: 2019-07-29 11:34 |
This issue is 15 years old and has 3 patches: it's far from being "newcomer friendly", I remove the "Easy" label. |
|
|
msg386278 - (view) |
Author: Steve Dower (steve.dower) *  |
Date: 2021-02-03 18:10 |
Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools |
|
|