Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: solorin on February 22, 2013, 05:42:08 AM

Title: to python users.
Post by: solorin on February 22, 2013, 05:42:08 AM
So I find myself having to use a python program.
the easiest path to installation requires pip.

Searching the repo turns up nothing. If some kind soul has already packaged it, please point me in the right direction.

cheerio,
solorin
Title: Re: to python users.
Post by: AmatCoder on February 22, 2013, 07:25:17 AM
I am not a python user, but anyway... ;) :

Code: [Select]
tc@box:~$ tce-load -i python-distribute openssl-1.0.0
tc@box:~$ wget http://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz
tc@box:~$ tar xzf pip-1.2.1.tar.gz
tc@box:~$ cd ./pip-1.2.1
tc@box:~/pip-1.2.1$ python setup.py build
tc@box:~/pip-1.2.1$ sudo python setup.py install --prefix=/usr/local
Title: Re: to python users.
Post by: althalus on February 22, 2013, 05:48:31 PM
You can install from pypi using easy_install in python-distribute

Code: [Select]
tc@box:~$ tce-load -i python-distribute
tc@box:~$ easy_install pip

Of course, installing through easy_install OR pip won't survive a reboot without extra effort.