experimenting to obtain the correct easy_install.pth file

This commit is contained in:
Lukas Bulwahn 2012-12-12 09:06:56 +01:00
parent 62bc68a4f7
commit 1b86a7408d
3 changed files with 8 additions and 3 deletions

View File

@ -58,8 +58,12 @@ distutils_do_install() {
sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
done
fi
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth
if test -e ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth; then
echo "easy-install.pth exists"
cat ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth
fi
# rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth
#
# FIXME: Bandaid against wrong datadir computation

View File

@ -13,4 +13,4 @@ IMAGE_ROOTFS_EXTRA_SPACE = "524288"
# remove not needed ipkg informations
ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "
IMAGE_INSTALL += "boost boost-dev packagegroup-core-ssh-openssh dhcp-client file ldd python-modules python-setuptools python-rospkg python-rosinstall git cmake python-empy python-pyyaml python-nose log4cxx log4cxx-dev libbz2-dev"
IMAGE_INSTALL += "boost boost-dev packagegroup-core-ssh-openssh dhcp-client file ldd python-modules python-rospkg python-rosinstall git cmake python-empy python-pyyaml python-nose log4cxx log4cxx-dev libbz2-dev python-setuptools"

View File

@ -3,6 +3,7 @@ SECTION = "devel/python"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=083869c8da6fdf8c3a5bbd7d1bf93cac"
SRCNAME = "rospkg"
DEPENDS = "python-setuptools"
SRC_URI = "http://pypi.python.org/packages/source/r/rospkg/rospkg-1.0.15.tar.gz"
SRC_URI[md5sum] = "3c9b1b8d1e90950944b3f10bad16ecff"