Tiny Core Extensions > TCE Bugs
Confusing (conflicting ??) bits of info in repos
Jason W:
I had considered a current python-minimal, but it would indeed be of very limited use.
combo3:
I think I posted this once before, but the exact errors generated by python (using python-2.5.2-minimal) were:
--- Code: ---tc@box:~$ python /usr/local/bin/edna.py /home/tc/.edna/edna.conf
Traceback (most recent call last):
File "/usr/local/bin/edna.py", line 49, in <module>
import md5
File "/tmp/tcloop/python-2.5.2-minimal/usr/local/lib/python2.5/md5.py", line 6, in <module>
from hashlib import md5
File "/tmp/tcloop/python-2.5.2-minimal/usr/local/lib/python2.5/hashlib.py", line 133, in <module>
md5 = __get_builtin_constructor('md5')
File "/tmp/tcloop/python-2.5.2-minimal/usr/local/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
import _md5
ImportError: No module named _md5
tc@box:~$ cat /usr/local/lib/python2.5/md5.py
# $Id: md5.py 39316 2005-08-21 18:45:59Z greg $
#
# Copyright (C) 2005 Gregory P. Smith (greg@electricrain.com)
# Licensed to PSF under a Contributor Agreement.
from hashlib import md5
new = md5
blocksize = 1 # legacy value (wrong in any useful sense)
digest_size = 16
--- End code ---
The minimal version is missing /usr/local/lib/python2.5/lib-dynload/_hashlib.so and based on a comparison of the update history between the two versions, it doesn't appear to have built-in openssl support.
Jason W:
A python-minimal would pretty much have to be tailor made for using with one particular python related app, as each app has different requirements, or even different requirements upon each version upgrade of the app.
Also, python-2.5 stuff is pretty much in deprecated state, and needs to be replaced with a build against the current 2.7 python. i will rebuild pyogg-vorbis soon against 2.7 when I get a chance.
Navigation
[0] Message Index
[*] Previous page
Go to full version