Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: bmarkus on September 25, 2010, 04:54:42 PM
-
Usually under on Linux python is expected to be in /usr/bin and sources start with
#!/usr/bin/python
but on TC python is in /usr/local/bin
Adding a symlink to /usr/bin in startup script of python.tcz would increase source portability to/from TC.
-
Agreed, and will add it in.
-
Agreed, and will add it in.
Jason, can you do that? I'm just updating wifi-radar which is erferring also to /usr/bin/python and If not really necessary do not want to patch the upstream source nor to add a symlink creation to wifi-radar startup script.
-
Ok, I will shoot for it tonight.
-
Symlink /usr/bin/python -> /usr/local/bin/python2.7 added.
-
Symlink /usr/bin/python -> /usr/local/bin/python2.7 added.
Thanks, it works fine. Same would be good for the python.tcz also.
-
Ok, I will add it to the old python as well, but at this point I really don't want to promote it's use other than to support existing extensions built against it but rather to migrate to the newer python as much as possible.
And if python 2.7 is already installed, it's /usr/bin/python as well as /usr/local/bin/python will not be overwritten by the old one.
-
Ok, I will add it to the old python as well, but at this point I really don't want to promote it's use other than to support existing extensions built against it but rather to migrate to the newer python as much as possible.
And if python 2.7 is already installed, it's /usr/bin/python as well as /usr/local/bin/python will not be overwritten by the old one.
Well, it was discussed in another topic without getting to a final decision. Maybe I'm wrong, but for me python.tcz is the python extension while python-2.7 is the new till it will be renamed to python.tcz and the current pytho.tcz to python-2.6 to tcz. Or did I missed something?
-
As we are now dealing with python update and version numbers, I will respond in the python-2.7 thread.