distutils-r1.eclass: Move creation of .pydistutils.cfg to esetup.py
authorMike Gilbert <floppym@gentoo.org>
Sun, 29 May 2016 01:07:10 +0000 (21:07 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sun, 5 Jun 2016 16:47:11 +0000 (12:47 -0400)
commita6159369f71607222f12c6c6691669059e526417
treeea6e079cef5ebbea7952777174bda6f0a7766c7d
parentd5d001429cc3363d5ae3b6b95f69b76a00fcfa0b
distutils-r1.eclass: Move creation of .pydistutils.cfg to esetup.py

Also remove .pydistutils.cfg from HOME before returning.

This config should only be needed when we are invoking setup.py. The
esetup.py wrapper provides a normalized way for doing this; if ebuilds
call setup.py without the wrapper, they are now also responsible for
setting the build directory if necessary.

This change allows us to stop overriding the HOME variable, and prevents
leakage of eclass-specifc configuration to the general ebuild
environment.
eclass/distutils-r1.eclass