Jump to content


Photo

python test files?


  • Please log in to reply
2 replies to this topic

#1 addybo

  • Senior Member
  • 45 posts

0
Neutral

Posted 16 November 2014 - 23:25

hi

do we need all testfiles in python2.7 folder?

 

 
root@vusolo2:~# du -sh /usr/lib/python2.7/test/
12.2M   /usr/lib/python2.7/test/
 
we can save some mb
 
my installed python packages:
 opkg list_installed *python*
libpython2.7-1.0 - 2.7.3-r5.3
python-2to3 - 2.7.3-r5.3
python-audio - 2.7.3-r5.3
python-bsddb - 2.7.3-r5.3
python-cheetah - 2.4.4-r3
python-codecs - 2.7.3-r5.3
python-compile - 2.7.3-r5.3
python-compiler - 2.7.3-r5.3
python-compression - 2.7.3-r5.3
python-core - 2.7.3-r5.3
python-crypt - 2.7.3-r5.3
python-ctypes - 2.7.3-r5.3
python-curses - 2.7.3-r5.3
python-datetime - 2.7.3-r5.3
python-db - 2.7.3-r5.3
python-debugger - 2.7.3-r5.3
python-difflib - 2.7.3-r5.3
python-distutils - 2.7.3-r5.3
python-doctest - 2.7.3-r5.3
python-elementtree - 2.7.3-r5.3
python-email - 2.7.3-r5.3
python-fcntl - 2.7.3-r5.3
python-gdata - 2.0.14-r1
python-gdbm - 2.7.3-r5.3
python-hotshot - 2.7.3-r5.3
python-html - 2.7.3-r5.3
python-idle - 2.7.3-r5.3
python-image - 2.7.3-r5.3
python-importlib - 2.7.3-r5.3
python-io - 2.7.3-r5.3
python-json - 2.7.3-r5.3
python-lang - 2.7.3-r5.3
python-logging - 2.7.3-r5.3
python-mailbox - 2.7.3-r5.3
python-math - 2.7.3-r5.3
python-mechanize - 0.2.5-r4
python-mime - 2.7.3-r5.3
python-misc - 2.7.3-r5.3
python-mmap - 2.7.3-r5.3
python-modules - 2.7.3-r5.3
python-multiprocessing - 2.7.3-r5.3
python-netclient - 2.7.3-r5.3
python-netserver - 2.7.3-r5.3
python-numbers - 2.7.3-r5.3
python-pickle - 2.7.3-r5.3
python-pkgutil - 2.7.3-r5.3
python-pprint - 2.7.3-r5.3
python-profile - 2.7.3-r5.3
python-pydoc - 2.7.3-r5.3
python-pyopenssl - 0.13-r1
python-pyusb - 1.0.0a2-r1
python-re - 2.7.3-r5.3
python-readline - 2.7.3-r5.3
python-resource - 2.7.3-r5.3
python-robotparser - 2.7.3-r5.3
python-shell - 2.7.3-r5.3
python-smtpd - 2.7.3-r5.3
python-sqlite3 - 2.7.3-r5.3
python-sqlite3-tests - 2.7.3-r5.3
python-stringold - 2.7.3-r5.3
python-subprocess - 2.7.3-r5.3
python-syslog - 2.7.3-r5.3
python-terminal - 2.7.3-r5.3
python-tests - 2.7.3-r5.3
python-textutils - 2.7.3-r5.3
python-threading - 2.7.3-r5.3
python-tkinter - 2.7.3-r5.3
python-twisted-core - 13.2.0-r2
python-twisted-mail - 13.2.0-r2
python-twisted-protocols - 13.2.0-r2
python-twisted-web - 13.2.0-r2
python-unittest - 2.7.3-r5.3
python-unixadmin - 2.7.3-r5.3
python-utf8-hack - 0.2-r0
python-xml - 2.7.3-r5.3
python-xmlrpc - 2.7.3-r5.3
python-zlib - 2.7.3-r5.3
python-zopeinterface - 4.1.1-r0

 



Re: python test files? #2 greatred

  • Senior Member
  • 268 posts

+2
Neutral

Posted 24 November 2014 - 14:25

Hi,

 

thanks for the tip !

 

I backed up the content of test directory and removed it.

Box survived a reboot and seems to be doing fine without /usr/lib/python2.7/test/.

Here my installed python packages:

libpython2.7-1.0 - 2.7.3-r5.3.2
python-2to3 - 2.7.3-r5.3.2
python-audio - 2.7.3-r5.3.2
python-bsddb - 2.7.3-r5.3.2
python-cheetah - 2.4.4-r3.2
python-codecs - 2.7.3-r5.3.2
python-compile - 2.7.3-r5.3.2
python-compiler - 2.7.3-r5.3.2
python-compression - 2.7.3-r5.3.2
python-core - 2.7.3-r5.3.2
python-crypt - 2.7.3-r5.3.2
python-ctypes - 2.7.3-r5.3.2
python-curses - 2.7.3-r5.3.2
python-datetime - 2.7.3-r5.3.2
python-db - 2.7.3-r5.3.2
python-debugger - 2.7.3-r5.3.2
python-difflib - 2.7.3-r5.3.2
python-distutils - 2.7.3-r5.3.2
python-doctest - 2.7.3-r5.3.2
python-elementtree - 2.7.3-r5.3.2
python-email - 2.7.3-r5.3.2
python-fcntl - 2.7.3-r5.3.2
python-gdata - 2.0.14-r1.2
python-gdbm - 2.7.3-r5.3.2
python-hotshot - 2.7.3-r5.3.2
python-html - 2.7.3-r5.3.2
python-idle - 2.7.3-r5.3.2
python-image - 2.7.3-r5.3.2
python-imaging - 1.1.7-r5.2
python-importlib - 2.7.3-r5.3.2
python-io - 2.7.3-r5.3.2
python-json - 2.7.3-r5.3.2
python-lang - 2.7.3-r5.3.2
python-logging - 2.7.3-r5.3.2
python-mailbox - 2.7.3-r5.3.2
python-math - 2.7.3-r5.3.2
python-mechanize - 0.2.5-r2.3
python-mime - 2.7.3-r5.3.2
python-misc - 2.7.3-r5.3.2
python-mmap - 2.7.3-r5.3.2
python-modules - 2.7.3-r5.3.2
python-multiprocessing - 2.7.3-r5.3.2
python-netclient - 2.7.3-r5.3.2
python-netserver - 2.7.3-r5.3.2
python-numbers - 2.7.3-r5.3.2
python-pickle - 2.7.3-r5.3.2
python-pkgutil - 2.7.3-r5.3.2
python-pprint - 2.7.3-r5.3.2
python-profile - 2.7.3-r5.3.2
python-pydoc - 2.7.3-r5.3.2
python-pyopenssl - 0.13-r1.2
python-re - 2.7.3-r5.3.2
python-readline - 2.7.3-r5.3.2
python-resource - 2.7.3-r5.3.2
python-robotparser - 2.7.3-r5.3.2
python-shell - 2.7.3-r5.3.2
python-smtpd - 2.7.3-r5.3.2
python-sqlite3 - 2.7.3-r5.3.2
python-sqlite3-tests - 2.7.3-r5.3.2
python-stringold - 2.7.3-r5.3.2
python-subprocess - 2.7.3-r5.3.2
python-syslog - 2.7.3-r5.3.2
python-terminal - 2.7.3-r5.3.2
python-tests - 2.7.3-r5.3.2
python-textutils - 2.7.3-r5.3.2
python-threading - 2.7.3-r5.3.2
python-tkinter - 2.7.3-r5.3.2
python-twisted-core - 13.2.0-r2.2
python-twisted-protocols - 13.2.0-r2.2
python-twisted-web - 13.2.0-r2.2
python-unittest - 2.7.3-r5.3.2
python-unixadmin - 2.7.3-r5.3.2
python-utf8-hack - 0.2-r0.2
python-xml - 2.7.3-r5.3.2
python-xmlrpc - 2.7.3-r5.3.2
python-zlib - 2.7.3-r5.3.2
python-zopeinterface - 4.1.1-r0.2


Re: python test files? #3 addybo

  • Senior Member
  • 45 posts

0
Neutral

Posted 29 November 2014 - 13:00

question is, how to remove the tests packages while image build




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users