[oe] [PATCH 2/2] python-2.6: remove python-distutils from python-modules

cdric julien c.dricjulien at gmail.com
Thu Sep 9 14:55:50 UTC 2010


Be careful, this module is needed to install python modules on target via
the "python setup.py install" method. If removed, some python packages won't
install anymore...
If you want to gain space on target, there are a few wininst*.exe in
distutils/command directory that could be removed and the "config" directory
which contains libpython2.6.a (2.1Mo) is really useless.


2010/9/8 Eric Bénard <eric at eukrea.com>

> this module 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>
> ---
>  recipes/python/python-2.6-manifest.inc |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/python/python-2.6-manifest.inc
> b/recipes/python/python-2.6-manifest.inc
> index eec9f22..ff54d36 100644
> --- a/recipes/python/python-2.6-manifest.inc
> +++ b/recipes/python/python-2.6-manifest.inc
> @@ -266,7 +266,7 @@ RDEPENDS_python-audio="python-core"
>  FILES_python-audio="${libdir}/python2.6/wave.* ${libdir}/python2.6/chunk.*
> ${libdir}/python2.6/sndhdr.* ${libdir}/python2.6/lib-dynload/ossaudiodev.so
> ${libdir}/python2.6/lib-dynload/audioop.so "
>
>  DESCRIPTION_python-modules="All Python modules"
> -RDEPENDS_python-modules="python-profile python-threading python-distutils
> python-doctest python-stringold python-codecs python-ctypes python-pickle
> python-datetime python-core python-io python-compiler python-compression
> python-re python-xmlrpc python-terminal python-email python-image
> python-tests python-resource python-json python-difflib python-math
> python-syslog python-hotshot python-unixadmin python-textutils
> python-tkinter python-gdbm python-elementtree python-fcntl python-netclient
> python-pprint python-netserver python-curses python-smtpd python-html
> python-readline python-subprocess python-pydoc python-logging python-mailbox
> python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest
> python-multiprocessing python-robotparser python-compile python-debugger
> python-pkgutil python-shell python-bsddb python-numbers python-mmap
> python-zlib python-db python-crypt python-idle python-lang python-audio  "
> +RDEPENDS_python-modules="python-profile python-threading python-doctest
> python-stringold python-codecs python-ctypes python-pickle python-datetime
> python-core python-io python-compiler python-compression python-re
> python-xmlrpc python-terminal python-email python-image python-tests
> python-resource python-json python-difflib python-math python-syslog
> python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm
> python-elementtree python-fcntl python-netclient python-pprint
> python-netserver python-curses python-smtpd python-html python-readline
> python-subprocess python-pydoc python-logging python-mailbox python-xml
> python-mime python-sqlite3 python-sqlite3-tests python-unittest
> python-multiprocessing python-robotparser python-compile python-debugger
> python-pkgutil python-shell python-bsddb python-numbers python-mmap
> python-zlib python-db python-crypt python-idle python-lang python-audio  "
>  ALLOW_EMPTY_python-modules = "1"
>
>
> --
> 1.6.3.3
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


-- 
================
C.dric JULIEN
================
Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live



More information about the Openembedded-devel mailing list