Skip to contentSkip to conversation

Missing files in Python

DISCUSSION Gary Thomas 2 participants 2 messages Nov 29, 2011

lore
Share & tools
lore
#0 lore raw

I'm experiencing some Python packaging issues.

* python-setuptools has a bunch of missing depends
I had to manually install these packages to be able to run a simple 'setup.py' script:
python-audio
python-codecs
python-compile
python-compression
python-core
python-crypt
python-datetime
python-distutils
python-email
python-image
python-io
python-lang
python-logging
python-math
python-mime
python-netclient
python-netserver
python-pickle
python-pprint
python-re
python-readline
python-shell
python-stringold
python-threading
python-zlib

* easy_install shows that the basic Python packages are not exporting the 'io' module. I can't find any package that includes these:

    /usr/lib/python2.7/lib-dynload/_io.so
    /usr/lib/python2.7/io.py

Are these known problems? Am I missing something? Perhaps I should file a bug?

Thanks

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 22 lines · Gary Thomas

I'm experiencing some Python packaging issues.

* python-setuptools has a bunch of missing depends
I had to manually install these packages to be able to run a simple 'setup.py' script:
python-audio
python-codecs
python-compile
python-compression
python-core
python-crypt
python-datetime
python-distutils
python-email
python-image
python-io
python-lang
python-logging
python-math
python-mime
python-netclient
python-netserver

Quoted 8 lines

python-pickle
python-pprint
python-re
python-readline
python-shell
python-stringold
python-threading
python-zlib

Add those to python-setuptools RDEPENDS_${PN}

Quoted 4 lines

* easy_install shows that the basic Python packages are not exporting the 'io' module. I can't find any package that includes these:

     /usr/lib/python2.7/lib-dynload/_io.so
     /usr/lib/python2.7/io.py

it's in python-io

SHR root@gjama / $ opkg files python-io
Package python-io (2.7.2-r0.2) is installed on root and has the following files:
/usr/lib/python2.7/lib-dynload/termios.so /usr/lib/python2.7/StringIO.py /usr/lib/python2.7/ssl.py /usr/lib/python2.7/socket.pyo /usr/lib/python2.7/lib-dynload/_socket.so /usr/lib/python2.7/lib-dynload/select.so /usr/lib/python2.7/lib-dynload/_io.so /usr/lib/python2.7/pipes.py /usr/lib/python2.7/tempfile.pyo /usr/lib/python2.7/io.pyo
/usr/lib/python2.7/io.py /usr/lib/python2.7/StringIO.pyo /usr/lib/python2.7/lib-dynload/cStringIO.so /usr/lib/python2.7/_pyio.py /usr/lib/python2.7/tempfile.py /usr/lib/python2.7/socket.py /usr/lib/python2.7/pipes.pyo /usr/lib/python2.7/ssl.pyo /usr/lib/python2.7/lib-dynload/_ssl.so /usr/lib/python2.7/_pyio.pyo

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]