Tiny Core Linux

General TC => General TC Talk => Topic started by: homeshoes on October 11, 2015, 12:33:28 AM

Title: basic python development setting
Post by: homeshoes on October 11, 2015, 12:33:28 AM
hello, I need help on choosing the right packages from "Apps: Regular applications" to make the basic python setting for development, if possible with the "pip"

there are numerous .tcz packages such as: micropython.tcz, python-dev.tcz,  python.tcz, python3.tcz, python3-dev.tcz , which one to choose?

it looks clear that the python_pip.tcz is readily available there to install..good there is only one pip and not many other..However, I have also seen a file named python-numpy.tcz which numpy is a python package grins at me as a choosen package choosen from a hundred packages that do not exist as a .tcz file.. perhaps might be another discussion topic..

would appreciate help for naming basic packages for development including an IDE.

regards
Title: Re: basic python development setting
Post by: Juanito on October 11, 2015, 12:41:29 AM
The first choice you need to make is whether to use micropython, python-2.x or python-3.x.

As most of the extensions named python-* are for python-2.x, maybe it is better to go with python-2.x. i.e. python.tcz.

If you want to develop with python-2.x, then you'll also need python-dev.tcz.
Title: Re: basic python development setting
Post by: homeshoes on October 11, 2015, 12:51:53 AM
Thank you and therefore, for the python2 setting, is it right to say: python.tcz, python-dev.tcz and perhaps the python_pip.tcz

And do you have any suggestions in TC to use as a Python IDE to have the text files and the interactive shell ?

Title: Re: basic python development setting
Post by: Juanito on October 11, 2015, 01:12:29 AM
I guess python, python-dev, python_pip and python-setuptools.

Sorry, but I don't have any particular suggestions for the IDE.
Title: Re: basic python development setting
Post by: bmarkus on October 12, 2015, 08:17:00 AM
And do you have any suggestions in TC to use as a Python IDE to have the text files and the interactive shell ?

In text mode you can use mc (Midnight Commander) built-in editor which has syntax highlights. In GUI there is Idle, Python's own editor to start with.
Title: Re: basic python development setting
Post by: homeshoes on October 12, 2015, 09:25:02 AM
Idle is simply there and I am like looking for stuff !!
have a great day bmarcus.