summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Buildsystem.pm
diff options
context:
space:
mode:
authorModestas Vainius <modestas@vainius.eu>2009-06-15 15:58:31 +0300
committerModestas Vainius <modestas@vainius.eu>2009-06-15 15:58:31 +0300
commitfe3de315ed7ce24c49756af4ebdaa6b88f86a12d (patch)
tree613a15c7cda3d8462785ec3237d2beda52974ebd /Debian/Debhelper/Buildsystem.pm
parent68c7c4c23cc9de4243e54b90ee902d9f9bf00bac (diff)
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 'Debian/Debhelper/Buildsystem.pm')
0 files changed, 0 insertions, 0 deletions