From 398788db0e61daa292812702e5cf7a9cdead94b8 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Sat, 7 Jan 2017 13:08:49 -0800 Subject: [PATCH] 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. --- eclass/distutils-r1.eclass | 5 ----- 1 file changed, 5 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 2db3be8b5e95..68151afae52d 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] -- 2.26.2