On 12/20/2012 12:34 PM, Burton, Ross wrote:
Not sure how I failed to notice this, but there's a setuptools.bbclass
in oe-core:

inherit distutils

DEPENDS += "python-setuptools-native"

DISTUTILS_INSTALL_ARGS = "--root=${D} \
     --single-version-externally-managed \
     --prefix=${prefix} \
     --install-lib=${PYTHON_SITEPACKAGES_DIR} \
     --install-data=${datadir}"

Yeah, that.  I'll fix python-mako and this should be suitable for you too.

Ross
Hi Ross,

the setuptools class does great work. Writing recipes and installing python packages now works like a charm. As you probably noticed as well, to add a package, one must add recipes for the transitive closure of all required packages defined in the setup.py file with the lines install_requires=[.*] and setup_requires=[.*].

The previous patches are now completely obsolete.

Lukas


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to