![]() |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Quote:
|
Re: [Announce] Python3.2 (3.2.3) on extras-devel
I would also like an optified version, as my rootfs is almost full (still may optify it a bit manually).
But another question here, if it is possible at all? If yes would it be possible to optify python-2.5 (moving /usr/lib/python-2.5/ to opt), which is 'wasting' over 20MB on rootfs? |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Quote:
Code:
~ $ mount |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Ups, sorry.
Yes, read that part of mount so often that it seems I do ignore it fully. :mad: damn, thought I could free up some space... [down to 10MB] --edit (OT) Just checked once more (and it is actually 79.8 MB ;)). But why I thought so is du -xsh /usr/lib/ shows 79.8 for python2.5. And -x should not show space on other file system. Seems a mounted (different) file system is not recognized by 'du'? |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
@peterleinchen
If I do "du -h /usr/lib" I get 201.5M. If I do "du -xh /usr/lib" I get 141.4M. Doing a diff on both outputs it is clear that "-xh" omits/ignores the 3 directories that are bind-mounted on /usr/lib, i.e. python2.5, pyshared and python-support. You are probably doing "du -xsh /usr/lib/*" (note the "*") which is effectively overriding the "-x" by telling du explicitly to calculate the size of every directory under /usr/lib/, that is, including those [r]bind-mounted. |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Yes, exactly that is. (I expected a different behaviour, but from the view of directory hierarchy this makes sense.)
Muchos gracias. -- end of OT |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Optified python3.4.0 on extras-devel. Thanks for Your patience.
This time no Debian/Ubuntu-stuff, but I started with sources straight from the upstream [https://www.python.org/ftp/python/3....thon-3.4.0.tgz]. Everything is now in one big (22Mb) package, called python3. Ok, this is loaned from Debian (but expat and libmpdec compiled-in) Code:
./configure --prefix=/opt/python3/ \ And symlink /usr/bin/python3 -> /opt/python3/bin/python3.4 (This all looks so obvious now, but trust me this took some time to tinker) Btw: It is compiled with default compiler on auto builder. |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
And of cource you should be interested in test-results (feel free to run on your device, tests are installed):
I dont yet understand everything, feel free to comment what are critical. Code:
cd /opt/python3/lib/python3.4/test/ Code:
== CPython 3.4.0 (default, Apr 19 2014, 16:37:49) [GCC 4.2.1] You can run simple test with (e.g) Code:
root [EDIT] Tests 60,61,62,63,64 You need write access to the directory: Code:
chown -R user /opt/python3/lib/python3.4/test Code:
python3 regrtest.py -uurlfetch test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Quote:
|
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Quote:
BTW, we now have the same version of Python Sailfish has (3.4), which is even newer than the Python version in the latest Fedora (3.3). :D |
All times are GMT. The time now is 18:59. |
vBulletin® Version 3.8.8