eclass/distutils-r1.eclass: Remove setting egg-base due to absolute path errors
authorBrian Dolbec <dolsen@gentoo.org>
Sat, 7 Jan 2017 21:08:49 +0000 (13:08 -0800)
committerBrian Dolbec <dolsen@gentoo.org>
Thu, 12 Jan 2017 23:58:08 +0000 (15:58 -0800)
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

index 2db3be8b5e9572d749b96d2dfbe3a92cd8c73d65..68151afae52ddb5fd128c9fce383b30a256ef255 100644 (file)
@@ -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]