[oe] [PATCH 1/3] generate-manifest-2.6.py: tune python-modules' RDEPENDS
J. L.
vwyodapink at gmail.com
Thu Sep 9 17:34:19 UTC 2010
On Thu, Sep 9, 2010 at 9:07 AM, Eric Bénard <eric at eukrea.com> wrote:
> * python-dev: pulls several dev packages leading to a >256MB image instead
> of a 60MB image without this packages
>
> Signed-off-by: Eric Bénard <eric at eukrea.com>
> ---
> contrib/python/generate-manifest-2.6.py | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/contrib/python/generate-manifest-2.6.py b/contrib/python/generate-manifest-2.6.py
> index 1a0f1d3..5ebafb8 100755
> --- a/contrib/python/generate-manifest-2.6.py
> +++ b/contrib/python/generate-manifest-2.6.py
> @@ -12,7 +12,7 @@ import time
> VERSION = "2.6.4"
>
> __author__ = "Michael 'Mickey' Lauer <mlauer at vanille-media.de>"
> -__version__ = "20100711"
> +__version__ = "20100908"
>
> class MakefileMaker:
>
> @@ -123,7 +123,7 @@ class MakefileMaker:
> line = 'RDEPENDS_python-modules="'
>
> for name, data in self.packages.iteritems():
> - if name != 'python-core-dbg':
> + if name not in ['python-core-dbg', 'python-dev']:
> line += "%s " % name
>
> self.out( "%s \"" % line )
> @@ -164,7 +164,7 @@ if __name__ == "__main__":
> m.addPackage( "python-core-dbg", "Python core module debug information", "python-core",
> "config/.debug lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug" )
>
> - m.addPackage( "python-devel", "Python Development Package", "python-core",
> + m.addPackage( "python-dev", "Python Development Package", "python-core",
> "${includedir} ${libdir}/libpython2.6.so config" ) # package
>
> m.addPackage( "python-idle", "Python Integrated Development Environment", "python-core python-tkinter",
> --
> 1.6.3.3
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
Dumb comment time: Wouldnt it be better to make maybe a few different
python module packages installs instead of thining out the
python-module? I know I personally use all the modules for python
available here plus some other modules as well. I know not everyone is
concerned with making their images as small as possible. Probably just
not getting the reasoning or point but just thought I would make the
statement there are those that use python-dev as is
JL
More information about the Openembedded-devel
mailing list