From 5f4828fc8d87003c1c8b02475a16285d7da132e9 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 5 Dec 2008 17:03:00 +0100 Subject: generate-manifest-2.5.py: generate python-modules package 'python-modules' depends on all Python modules to make installation of whole Python easier --- contrib/python/generate-manifest-2.5.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'contrib/python') diff --git a/contrib/python/generate-manifest-2.5.py b/contrib/python/generate-manifest-2.5.py index 8054608ce9..854cd838a5 100755 --- a/contrib/python/generate-manifest-2.5.py +++ b/contrib/python/generate-manifest-2.5.py @@ -22,7 +22,7 @@ class MakefileMaker: self.packages = {} self.targetPrefix = "${libdir}/python%s/" % VERSION[:3] self.output = outfile - self.out( """ \ + self.out( """\ # WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file. # Generator: '%s' Version %s (C) 2002-2008 Michael 'Mickey' Lauer # Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy @@ -80,7 +80,7 @@ class MakefileMaker: packageLine = 'PACKAGES="' for name in self.packages: packageLine += "%s " % name - packageLine += '"' + packageLine += ' python-modules"' self.out( packageLine ) self.out( "" ) @@ -120,6 +120,16 @@ class MakefileMaker: self.out( line ) self.out( "" ) + self.out( 'DESCRIPTION_python-modules="All Python modules"' ) + line = 'RDEPENDS_python-modules="' + + for name, data in self.packages.iteritems(): + if name != 'python-core-dbg': + line += "%s " % name + + self.out( "%s \"" % line ) + self.out( 'ALLOW_EMPTY_python-modules = "1"' ) + def doEpilog( self ): self.out( """""" ) self.out( "" ) -- cgit v1.2.3