All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <koen@dominion.thruhere.net>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: Scott Rifenbark <scott.m.rifenbark@intel.com>,
	Xiaofeng Yan <xiaofeng.yan@windriver.com>,
	Paul Eggleton <paul.eggleton@linux.intel.com>,
	Kang Kai <kai.kang@windriver.com>,
	Jingdong Lu <jingdong.lu@windriver.com>
Subject: Re: [PATCH 47/58] setuptools: Make options for setup.py more flexible
Date: Sat, 16 Apr 2011 14:11:22 +0200	[thread overview]
Message-ID: <5098B0B9-2B87-4BC4-AE7E-34900FAEEFD8@dominion.thruhere.net> (raw)
In-Reply-To: <4f60a8f2b1b3f935ea029e6b780151015ea31c18.1302936483.git.sgw@linux.intel.com>

As I said in my other mail, the reasoning behind this patch is wrong and will lead to broken output. The '--single-version-externally-managed' is needed to stop the python egg code from doing the wrong thing. People running into problems with this need to do 'inherit distutils' instead of 'inherit setuptools'.

Besides all that, 'DISTUTILS_INSTALL_EXTRA_ARGS' would be the correct name for such a thing.

Op 16 apr 2011, om 08:55 heeft Saul Wold het volgende geschreven:

> From: Gary Thomas <gary@mlbassoc.com>
> 
> The setuptools class uses hard-wired options for 'setup.py' during
> the install step.  In particular, not all versions of setup.py
> support the "--single-version-externally-managed" option.  This
> patch allows for a recipe to easily override these options, while
> leaving the majority (important) setup options intact.
> 
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> 
>> From 0afbe6b9477c207e37009c8ef5aa47b3438640a9 Mon Sep 17 00:00:00 2001
> From: Gary Thomas <gary@mlbassoc.com>
> Date: Wed, 13 Apr 2011 15:12:57 -0600
> Subject: [PATCH] setuptools: Make options for setup.py more flexible
> 
> Signed-off-by: Gary Thomas <gary@mlbassoc.com>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
> meta/classes/setuptools.bbclass |    3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/classes/setuptools.bbclass b/meta/classes/setuptools.bbclass
> index ced9509..cf1c224 100644
> --- a/meta/classes/setuptools.bbclass
> +++ b/meta/classes/setuptools.bbclass
> @@ -2,7 +2,8 @@ inherit distutils
> 
> DEPENDS += "python-setuptools-native"
> 
> +DISTUTILS_INSTALL_OPTS ?= "--single-version-externally-managed "
> DISTUTILS_INSTALL_ARGS = "--root=${D} \
> -    --single-version-externally-managed \
> +    ${DISTUTILS_INSTALL_OPTS} \
>     --prefix=${prefix} \
>     --install-data=${datadir}"
> -- 
> 1.7.1.1
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




  reply	other threads:[~2011-04-16 12:18 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-16  6:53 [PATCH 00/58] Consolidated Updates and Bug Fixes Saul Wold
2011-04-16  6:53 ` [PATCH 01/58] gstreamer: upgrade to vesion 0.10.32 Saul Wold
2011-04-16  6:53 ` [PATCH 02/58] gst-plugins-base: upgrade to version 0.10.32 Saul Wold
2011-04-16  6:53 ` [PATCH 03/58] gst-plugins-good: upgrade to version 0.10.28 Saul Wold
2011-04-16  6:53 ` [PATCH 04/58] gst-plugins-bad: upgrade to version 0.10.21 Saul Wold
2011-04-16  6:53 ` [PATCH 05/58] gst-plugins-ugly: upgrade to version 0.10.17 Saul Wold
2011-04-16  6:53 ` [PATCH 06/58] ofono: upgrade to version 0.45 Saul Wold
2011-04-16  6:53 ` [PATCH 07/58] alsa-lib: upgrade to version 1.0.24.1 Saul Wold
2011-04-16  6:53 ` [PATCH 08/58] telepathy-glib: upgrade to version 0.14.3 Saul Wold
2011-04-16  6:53 ` [PATCH 09/58] telepathy-idle: upgrade to version 0.1.8 Saul Wold
2011-04-16  6:53 ` [PATCH 10/58] telepathy-mission-control: upgrade to version 5.7.9 Saul Wold
2011-04-16  6:53 ` [PATCH 11/58] gssdp: upgrade to version 0.10.0 Saul Wold
2011-04-16  6:53 ` [PATCH 12/58] gupnp: upgrade to version 0.16.0 Saul Wold
2011-04-16  6:53 ` [PATCH 13/58] distro_tracking_fields: update for gstreamer, gupnp, telepathy-glib, etc Saul Wold
2011-04-16  6:53 ` [PATCH 14/58] documentation/adt-manual/adt-eclipse.xml: Fixed link to autotools Saul Wold
2011-04-16  6:53 ` [PATCH 15/58] libsoup-2.4: Upgrade to 2.32.2 (from 2.32.1) Saul Wold
2011-04-16  6:53 ` [PATCH 16/58] x11perf: Upgrade to 1.5.3 (from 1.5.2) Saul Wold
2011-04-16  6:53 ` [PATCH 17/58] libcanberry: Upgrade to 0.28 (from 0.26) Saul Wold
2011-04-16  6:53 ` [PATCH 18/58] xz: Upgrade to 5.0.2 (from 5.0.0) Saul Wold
2011-04-16  6:53 ` [PATCH 19/58] polkit-gnome: Upgrade to 0.101 (from 0.99) Saul Wold
2011-04-16  6:54 ` [PATCH 20/58] oprofileui: upgrade to latest git version Saul Wold
2011-04-16  6:54 ` [PATCH 21/58] libxt: update from 1.0.9 to the latest version 1.1.1 Saul Wold
2011-04-16  6:54 ` [PATCH 22/58] libxi: upgrade from 1.4.0 to the latest version 1.4.2 Saul Wold
2011-04-16  6:54 ` [PATCH 23/58] fixesproto: upgrade from 4.1.2 to the latest version 5.0 Saul Wold
2011-04-16  6:54 ` [PATCH 24/58] xproto: upgrade from 7.0.20 to the latest version 7.0.21 Saul Wold
2011-04-16  6:54 ` [PATCH 25/58] gnome-doc-utils: upgrade from 0.20.4 to the latest version 0.20.5 Saul Wold
2011-04-16  6:54 ` [PATCH 26/58] xextproto: upgrade from 7.1.2 to the latest version 7.2.0 Saul Wold
2011-04-16  6:54 ` [PATCH 27/58] libpciaccess: upgrade from 0.12.0 to the latest version 0.12.1 Saul Wold
2011-04-16  6:54 ` [PATCH 28/58] cronie: upgrade from 1.4.6 to the latest version 1.4.7 Saul Wold
2011-04-16  6:54 ` [PATCH 29/58] preferred-xorg-versions.inc: update libxt, libxi, fixesproto, xproto, xextproto and libpciaccess Saul Wold
2011-04-16  6:54 ` [PATCH 30/58] distro_tracking_fields.inc: update the info for the following recipes Saul Wold
2011-04-16  6:54 ` [PATCH 31/58] xf86-input-synaptics: upgrade from 1.3.0 to 1.4.0 Saul Wold
2011-04-16  6:54 ` [PATCH 32/58] xf86-input-vmmouse: upgrade from 12.6.10 to 12.7.0 Saul Wold
2011-04-16  6:54 ` [PATCH 33/58] evieext: upgrade from 1.1.0 to 1.1.1 Saul Wold
2011-04-16  6:54 ` [PATCH 34/58] xf86-input-keyboard: upgrade from 1.5.0 to 1.6.0 Saul Wold
2011-04-16  6:54 ` [PATCH 35/58] xkbcomp: upgrade from 1.2.0 to 1.2.1 Saul Wold
2011-04-16  6:54 ` [PATCH 36/58] clutter-1.6: fix tarball md5sum and add json-glib to dependencies Saul Wold
2011-04-16  6:54 ` [PATCH 37/58] gnu-config-native: add dependency on perl-native Saul Wold
2011-04-18  4:53   ` Richard Purdie
2011-04-18  5:43     ` Cui, Dexuan
2011-04-18  6:54       ` Richard Purdie
2011-04-18 14:18         ` Cui, Dexuan
2011-05-05 14:18         ` Cui, Dexuan
2011-05-05 22:34           ` Richard Purdie
2011-05-06  8:52             ` Cui, Dexuan
2011-05-06 11:31               ` Richard Purdie
2011-05-06 12:02                 ` Koen Kooi
2011-05-10 14:02                 ` Cui, Dexuan
2011-05-10 14:10                   ` Richard Purdie
2011-05-10 14:20                     ` Cui, Dexuan
2011-05-11  0:50                       ` Saul Wold
2011-05-11  1:00                         ` Cui, Dexuan
2011-05-06 14:27             ` Tom Rini
2011-05-10 14:09               ` Cui, Dexuan
2011-05-10 14:10                 ` Tom Rini
2011-04-16  6:54 ` [PATCH 38/58] libnewt: fix parallel-make issue Saul Wold
2011-04-16  6:54 ` [PATCH 39/58] libdrm: upgrade from 2.4.23 to 2.4.25 Saul Wold
2011-04-16  6:54 ` [PATCH 40/58] mesa: upgrade to 7.10.2 Saul Wold
2011-04-16  6:55 ` [PATCH 41/58] xf86-input-mouse: upgrade from 1.6 to 1.7 Saul Wold
2011-04-16  6:55 ` [PATCH 42/58] pango: upgrade from 1.28.3 to 1.28.4 Saul Wold
2011-04-16  6:55 ` [PATCH 43/58] qemu: Fix the qemu GL application start failure Saul Wold
2011-04-16  6:55 ` [PATCH 44/58] task-poky-lsb.bb:Add locale resoures which is needed by LSB Test Suite Saul Wold
2011-04-16  6:55 ` [PATCH 45/58] gcc: Add "--enable-clocale=gnu" option for LSB Saul Wold
2011-04-16  6:55 ` [PATCH 46/58] poky-lsb: Add "largefile" feature for LSB distro Saul Wold
2011-04-16  6:55 ` [PATCH 47/58] setuptools: Make options for setup.py more flexible Saul Wold
2011-04-16 12:11   ` Koen Kooi [this message]
2011-04-16 19:46     ` Koen Kooi
2011-04-16 21:43       ` Saul Wold
2011-04-17 13:26         ` Gary Thomas
2011-04-17 17:02           ` Koen Kooi
2011-04-16  6:55 ` [PATCH 48/58] libexif: upgrade to 0.6.20 Saul Wold
2011-04-16  6:55 ` [PATCH 49/58] libxml2: upgrade to version 2.7.8 Saul Wold
2011-04-16  6:55 ` [PATCH 50/58] openssl: upgrade to version 0.9.8r Saul Wold
2011-04-16  6:55 ` [PATCH 51/58] rsync: upgrade to version 3.0.8 Saul Wold
2011-04-16  6:55 ` [PATCH 52/58] documentation/adt-manual/adt-prepare.xml: Fixed URL for nightly builds Saul Wold
2011-04-16  6:55 ` [PATCH 53/58] documentation/adt-manual/adt-eclipse.xml: Fixed URL with pokylinux.org Saul Wold
2011-04-16  6:55 ` [PATCH 54/58] documentation/kernel-manual/kernel-how-to.xml: replaced 'pokylinux' with 'yoctoproject' Saul Wold
2011-04-16  6:55 ` [PATCH 55/58] netbase: automatically bring up eth0 Saul Wold
2011-04-16  6:55 ` [PATCH 56/58] netbase: add /etc/network/interfaces file for qemumips & qemuppc Saul Wold
2011-04-16  6:55 ` [PATCH 57/58] slang: Update to 2.2.4 Saul Wold
2011-04-16  6:56 ` [PATCH 58/58] jpeg: add link libjpeg.so.62 for LSB library test Saul Wold
2011-04-18  4:54 ` [PATCH 00/58] Consolidated Updates and Bug Fixes Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5098B0B9-2B87-4BC4-AE7E-34900FAEEFD8@dominion.thruhere.net \
    --to=koen@dominion.thruhere.net \
    --cc=jingdong.lu@windriver.com \
    --cc=kai.kang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul.eggleton@linux.intel.com \
    --cc=scott.m.rifenbark@intel.com \
    --cc=xiaofeng.yan@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.