WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: python.tczl  (Read 6890 times)

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9707
Re: python.tczl
« Reply #15 on: March 30, 2009, 03:50:08 PM »
Yes, for both python and python-minimal.  Paths now are identical as in tce format.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12429
Re: python.tczl
« Reply #16 on: April 01, 2009, 07:51:30 AM »
..but the python.tczl version I just downloaded does not have a user.tar.gz?

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9707
Re: python.tczl
« Reply #17 on: April 01, 2009, 01:00:46 PM »
I downloaded now and installed the python.tczl I uploaded a couple of days ago and it has the user.tar.gz:


Code: [Select]
tc@box:~$ ls /tmp/tcloop/python/
user.tar.gz  usr/
tc@box:~$

Code: [Select]
tc@box:~$ python
Python 2.5.2 (r252:60911, Dec  8 2008, 06:26:24)
[GCC 4.2.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/local/lib/python25.zip', '/usr/local/lib/python2.5', '/usr/local
/lib/python2.5/plat-linux2', '/usr/local/lib/python2.5/lib-tk', '/usr/local
/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages']
>>>

It seems ok here.  Are you using the ibiblio mirror?  If not maybe the others have not synced yet.
« Last Edit: April 02, 2009, 02:04:28 PM by Jason W »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12429
Re: python.tczl
« Reply #18 on: April 01, 2009, 10:40:14 PM »
Finally got it - I must have downloaded the file 6 or 7 times over the last 3-4 days before getting the user.tar.gz version this morning.

..and now the hplip hp-* work  :)

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: python.tczl
« Reply #19 on: April 01, 2009, 11:12:32 PM »
You have to reboot before it shows up.  Is there a way to unpack a tcz? 

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12429
Re: python.tczl
« Reply #20 on: April 01, 2009, 11:21:25 PM »
Code: [Select]
$ mkdir /tmp/test
$ sudo mount /tmp/python.tczl /test/test -o loop

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: python.tczl
« Reply #21 on: April 01, 2009, 11:36:45 PM »
thanks

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: python.tczl
« Reply #22 on: April 02, 2009, 12:01:28 AM »
Is that an open directory? /usr/local/bin
Are all the test files necessary?   (673 tests, 9.5M)
« Last Edit: April 02, 2009, 01:36:34 AM by jpeters »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9707
Re: python.tczl
« Reply #23 on: April 02, 2009, 02:58:05 AM »
At the time I made the python extension last July, being unfamiliar with python, I had erred on the side of leaving in rather than taking out.  I can move the test files to the -dev extension as I don't delete any part of a package except for man pages and docs so the package is fully available.  I will do that when I get time, maybe in a week or so.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: python.tczl
« Reply #24 on: April 02, 2009, 03:44:38 AM »
I'm guessing they're from 'make test'  Did you test before 'make install' ?
« Last Edit: April 02, 2009, 03:51:18 AM by jpeters »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9707
Re: python.tczl
« Reply #25 on: April 02, 2009, 04:01:34 AM »
Here is the build script that was used:

http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/tce/src/python-2.5.2/python-2.5.2.tcbuild

Python is due an update, more pruning and seperation can occur when it is updated. 

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: python.tczl
« Reply #26 on: April 02, 2009, 01:45:24 PM »
I ran the tests after doing a new build.  Looks good.  I think they can be deleted.  I thought they might get
deleted after running the tests, but guess not.    

281 tests OK.
41 tests skipped:
    test_aepack test_al test_applesingle test_bsddb test_bsddb185
    test_bsddb3 test_bz2 test_cd test_cl test_codecmaps_cn
    test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr
    test_codecmaps_tw test_curses test_dbm test_gdbm test_gl
    test_imgfile test_linuxaudiodev test_locale test_macfs
    test_macostools test_nis test_normalization test_ossaudiodev
    test_pep277 test_plistlib test_scriptpackages test_socket_ssl
    test_socketserver test_sqlite test_startfile test_sunaudiodev
    test_timeout test_unicode_file test_urllib2net test_urllibnet
    test_winreg test_winsound test_zipfile64                     
5 skips unexpected on linux2:               
    test_dbm test_bz2 test_gdbm test_locale test_bsddb
« Last Edit: April 02, 2009, 01:48:32 PM by jpeters »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9707
Re: python.tczl
« Reply #27 on: April 02, 2009, 02:01:41 PM »
What version are you building?  If it is an updated version I would appreciate if you would submit it.  Trimming the current version would be ok too, but it would be nice to have an update, which I was planning here soon but time is tight.  If the resulting python.tcel is around 2MB we can basically do away with the minimal version as 2mb is very close in size to the minimal.  If we stay with the 2.x series it should be compatible with our current python dependent extensions, but we can test and see to make sure.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: python.tczl
« Reply #28 on: April 02, 2009, 03:01:58 PM »
I built the same version. The only difference was that  I ran make tests (it didn't seem to need the pkconf flags).  If anything, it created more test files, like 1625 files related to some kind of test.  (I did a quick grep..maybe I have some multiple counts...).

Using tcz-uninstall didn't stop the 'man' conflict either, even after rebooting xdesktop.  For now, I'll load python only  when I need it. 
« Last Edit: April 02, 2009, 04:10:47 PM by jpeters »

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: python.tczl
« Reply #29 on: October 04, 2009, 10:21:58 PM »
Updated python working well with tinycore_2.4rc4


[removed due to policy]apps/python-update.png