[oe] [PATCH 1/2] generate-manifest-2.6.py: tune python-modules' RDEPENDS

Eric Bénard eric at eukrea.com
Wed Sep 8 12:00:42 UTC 2010


* python-dev: pulls several dev packages leading to a >256MB image instead
of a 60MB image without this packages

* python-distutils: seems only needed for development. No installing it with
python-modules saves 6MB on the image.

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..136cb2e 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', 'python-distutils']:
                 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





More information about the Openembedded-devel mailing list