Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mail.openembedded.org (Postfix) with ESMTP id 6B34D60119 for ; Fri, 8 Jul 2016 20:29:59 +0000 (UTC) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 08 Jul 2016 13:30:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,331,1464678000"; d="scan'208,217";a="1013386432" Received: from aehernan-mobl1.zpn.intel.com (HELO [10.219.17.113]) ([10.219.17.113]) by orsmga002.jf.intel.com with ESMTP; 08 Jul 2016 13:30:00 -0700 To: openembedded-core@lists.openembedded.org References: From: Alejandro Hernandez Message-ID: Date: Fri, 8 Jul 2016 15:30:01 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Subject: Re: [PATCH 1/5] python-six: Add to oe-core X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2016 20:30:00 -0000 Content-Type: multipart/alternative; boundary="------------2F1707DDD6BB58894F1FE7FA" --------------2F1707DDD6BB58894F1FE7FA Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 07/08/2016 03:17 PM, Burton, Ross wrote: > > On 7 July 2016 at 16:39, Jussi Kukkonen > wrote: > > +do_compile_append() { > + ${PYTHON} setup.py -q bdist_egg --dist-dir ./ > +} > +do_install_append() { > + install -m 0644 ${S}/*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/ > +} > > > Is this actually required? The setuptools class should be doing all > the magic, and this appears to be building and installing an egg, > which we generally try not to do. > > Ross As far as I remember, if the package uses the setuptools class this should be handled automatically. > > --------------2F1707DDD6BB58894F1FE7FA Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit On 07/08/2016 03:17 PM, Burton, Ross wrote:

On 7 July 2016 at 16:39, Jussi Kukkonen <jussi.kukkonen@intel.com> wrote:
+do_compile_append() {
+    ${PYTHON} setup.py -q bdist_egg --dist-dir ./
+}
+do_install_append() {
+    install -m 0644 ${S}/*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/
+}

Is this actually required?  The setuptools class should be doing all the magic, and this appears to be building and installing an egg, which we generally try not to do.

Ross

As far as I remember, if the package uses the setuptools class this should be handled automatically.



--------------2F1707DDD6BB58894F1FE7FA--