classification
Title: Make “install” find the build_base directory
Type: behavior Stage: needs patch
Components: Distutils, Distutils2 Versions: Python 3.3, Python 3.2, Python 2.7, 3rd party
process
Status: open Resolution:
Dependencies: write a configure command
View: 8254
Superseder:
Assigned To: eric.araujo Nosy List: alexis, daishiharada, eric.araujo, tarek
Priority: normal Keywords: easy

Created on 2004-08-18 00:36 by daishiharada, last changed 2011-11-12 15:05 by eric.araujo.

Messages (4)
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 <somedir>

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 <somedir>

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 <somedir> install

This seems somewhat unwieldy; perhaps -b should be
more universally available to all distutil commands?
msg114464 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) 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) * (Python committer) Date: 2011-10-26 16:06
Actually I think this bug can be fixed in distutils.
msg147496 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) 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”.
History
Date User Action Args
2011-11-12 15:05:59eric.araujosetmessages: + msg147496
2011-10-26 16:06:09eric.araujosetversions: + Python 2.7, Python 3.2, Python 3.3
resolution: remind ->
messages: + msg146440

components: + Distutils
keywords: + easy
type: enhancement -> behavior
stage: needs patch
2011-02-13 16:06:10alexissetnosy: + alexis
2010-09-30 00:34:51eric.araujosetversions: + 3rd party, - Python 2.6, Python 2.5, Python 3.1, Python 2.7, Python 3.2
2010-08-21 03:10:37terry.reedysetnosy: - terry.reedy
2010-08-20 23:08:51eric.araujosetversions: + Python 2.6, Python 2.5, Python 3.1, Python 2.7, Python 3.2
nosy: terry.reedy, daishiharada, tarek, eric.araujo
title: distutils install with -b / --build-base -> Make “install” find the build_base directory
messages: + msg114464
resolution: remind

assignee: tarek -> eric.araujo
dependencies: + write a configure command
components: + Distutils2, - Distutils
type: enhancement
2010-08-20 22:52:10eric.araujosetmessages: - msg114463
2010-08-20 22:52:05eric.araujosetmessages: - msg113025
2010-08-20 22:52:00eric.araujosetmessages: - msg113011
2010-08-20 22:51:40eric.araujosetmessages: + msg114463
2010-08-05 19:18:45eric.araujosetnosy: + eric.araujo
messages: + msg113025
2010-08-05 19:02:21terry.reedysetnosy: + terry.reedy
messages: + msg113011
components: + Distutils, - None
2009-02-11 02:55:42ajaksu2setassignee: tarek
nosy: + tarek
2004-08-18 00:36:12daishiharadacreate