summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2017-01-07 13:08:49 -0800
committerBrian Dolbec <dolsen@gentoo.org>2017-01-12 15:58:08 -0800
commit398788db0e61daa292812702e5cf7a9cdead94b8 (patch)
tree7be6d5be3d200951869c88d17d159da044b12bfd
parente548587eae35e75a7d9bce719571714df6ca066b (diff)
downloadgentoo-398788db0e61daa292812702e5cf7a9cdead94b8.tar.gz
gentoo-398788db0e61daa292812702e5cf7a9cdead94b8.tar.xz
eclass/distutils-r1.eclass: Remove setting egg-base due to absolute path errors
In setuptools and new python releases, this causes the SOURCES.txt to include all egg-info files with absolute paths. Without this setting these files are not included in that file and everything works and installs correctly.
-rw-r--r--eclass/distutils-r1.eclass5
1 files changed, 0 insertions, 5 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 2db3be8b5e9..68151afae52 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -288,8 +288,6 @@ distutils_install_for_testing() {
PYTHONPATH=${libdir}:${PYTHONPATH}
local add_args=(
- egg_info
- --egg-base="${libdir}"
install
--home="${TEST_DIR}"
--install-lib="${libdir}"
@@ -394,9 +392,6 @@ _distutils-r1_create_setup_cfg() {
# make the ebuild writer lives easier
build-scripts = %(build-base)s/scripts
- [egg_info]
- egg-base = ${BUILD_DIR}
-
# this is needed by distutils_install_for_testing since
# setuptools like to create .egg files for install --home.
[bdist_egg]