diff options
author | Modestas Vainius <modestas@vainius.eu> | 2009-06-15 15:58:31 +0300 |
---|---|---|
committer | Modestas Vainius <modestas@vainius.eu> | 2009-06-15 15:58:31 +0300 |
commit | fe3de315ed7ce24c49756af4ebdaa6b88f86a12d (patch) | |
tree | 613a15c7cda3d8462785ec3237d2beda52974ebd /doc | |
parent | 68c7c4c23cc9de4243e54b90ee902d9f9bf00bac (diff) | |
download | debhelper-fe3de315ed7ce24c49756af4ebdaa6b88f86a12d.tar.gz |
Fix build directory handling in python_distutils build system.
* Apparently, Distutils does out of source tree building by default.
* Default build directory is "$srcdir/build".
* --build-base command line option is ineffective (some even fail)
unless it is passed to the "build" command. However, if build-base is set in
the config file, all setup.py commands use it (build, install and clean).
That's a big flaw in Distutils design but it has been like this for a long
time. Therefore write a custom distutils cfg file in the build directory
to make build-base work. The best choice for config file path is
$HOME/.pydistutils.cfg (one of the paths Distutils reads) and setting $HOME
to the build directory.
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions