Re: [Python-ideas] Adding iOS/Android support to Python

On Oct 25, 2014 10:13 AM, "Russell Keith-Magee" <russell@keith-magee.com> wrote:
On Sat, Oct 25, 2014 at 3:36 PM, Todd <toddrjen@gmail.com> wrote:
On Oct 25, 2014 4:22 AM, "Russell Keith-Magee" <russell@keith-magee.com>
3) Disabling certain modules on mobile platforms. Supporting modules
wrote: like linuxaudiodev, ossaudiodev, readline, curses, idle and tkinter on mobile platforms doesn't make much sense; modules likes bsddb and bz2 are difficult to support due to library dependencies; and the need for modules like multiprocessing is arguable (and difficult to support on mobile). Even providing a Python executable/shell is arguable for these platforms. that provide a shell-like UI. What I'm talking about here is the literal "python.exe" build target - the one that is an executable that starts and expects to attach to stdin/stdout. *That* executable isn't practical on Android *or* iOS, because neither platform has the concept of a "console" in the traditional Unix sense of the word. Perhaps no console by default, but it is possible to have a traditional console on android. I have one and many ROMs install one by default. So although it may not be part of the default configuration I think it would be good to support it for the people who do have a console. Further, with rooted users, python could be set up to be used with the built-in adb shell. It is unclear from the discussion where things ultimately came out on this issue. If there still a possibility it might removed, although I understand that consoles are not the primary use-case, I think is still a valid use-case that should supported. triple core. I was referring to the benchmarks where corresponding iOs and android devices generally have better single and multi-core performance, respectively, but you right that isn't that important.
No, on the contrary, I was thinking that on devices with limited performance, being able to divide components between processes, such as UI and logic, is all the more important. It probably would not be any use for the sort of calculator I am thinking about.

It probably would not be any use for the sort of calculator I am thinking about.
* "Hacker's Keyboard, a 5-row keyboard using full PC key layout for Android tablets or phones <https://code.google.com/p/hackerskeyboard/>" https://code.google.com/p/hackerskeyboard/ * IPython Notebook requires pyzmq and libzmq: http://zeromq.org/build:android * IPython qtconsole requires Qt: http://qt-project.org/doc/qt-5/android-support.html * SPyder require PySide or PyQt: https://code.google.com/p/spyderlib/ * http://continuum.io/blog/raspberry ( http://repo.continuum.io/miniconda/Miniconda-3.5.5-Linux-armv6l.sh ) On Sun, Oct 26, 2014 at 7:18 AM, Todd <toddrjen@gmail.com> wrote:
-- Wes Turner https://westurner.github.io/

As far as tagging multi-platform builds: * wheel: http://legacy.python.org/dev/peps/pep-0427/#file-name-convention {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.whl. * conda: http://conda.pydata.org/docs/build.html#preprocessing-selectors On Sun, Oct 26, 2014 at 1:50 PM, Wes Turner <wes.turner@gmail.com> wrote:
-- Wes Turner https://westurner.github.io/

Hi Todd, On Sun, Oct 26, 2014 at 8:18 PM, Todd <toddrjen@gmail.com> wrote:
It is unclear from the discussion where things ultimately came out on this
Supporting rooted devices and "unix console on mobile device" features are of no interest to me personally; so I suppose the question is whether providing support for these use cases would be an impediment to a set of patches being added to Python's trunk. Yours, Russ Magee %-)

On Oct 26, 2014, at 16:35, Russell Keith-Magee <russell@keith-magee.com> wrote:
I don't think it's so much people wanted to use the Unix console directly on their device, as wanting to use it when ssh'd into their device. I built 3.2 or 3.3 for iOS (on the device, using the tool chain from Cydia) just to make it usable in test scripts for an app I was working on. But that seems like a very different use case from people who want a cross-compilable framework that they can use in an app, that runs in the simulator, that has GUI libraries, etc. If it's that hard to support the interpreter, I think it would be reasonable to disable it, and let people who want that create a Cydia package separate from yours.

It probably would not be any use for the sort of calculator I am thinking about.
* "Hacker's Keyboard, a 5-row keyboard using full PC key layout for Android tablets or phones <https://code.google.com/p/hackerskeyboard/>" https://code.google.com/p/hackerskeyboard/ * IPython Notebook requires pyzmq and libzmq: http://zeromq.org/build:android * IPython qtconsole requires Qt: http://qt-project.org/doc/qt-5/android-support.html * SPyder require PySide or PyQt: https://code.google.com/p/spyderlib/ * http://continuum.io/blog/raspberry ( http://repo.continuum.io/miniconda/Miniconda-3.5.5-Linux-armv6l.sh ) On Sun, Oct 26, 2014 at 7:18 AM, Todd <toddrjen@gmail.com> wrote:
-- Wes Turner https://westurner.github.io/

As far as tagging multi-platform builds: * wheel: http://legacy.python.org/dev/peps/pep-0427/#file-name-convention {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.whl. * conda: http://conda.pydata.org/docs/build.html#preprocessing-selectors On Sun, Oct 26, 2014 at 1:50 PM, Wes Turner <wes.turner@gmail.com> wrote:
-- Wes Turner https://westurner.github.io/

Hi Todd, On Sun, Oct 26, 2014 at 8:18 PM, Todd <toddrjen@gmail.com> wrote:
It is unclear from the discussion where things ultimately came out on this
Supporting rooted devices and "unix console on mobile device" features are of no interest to me personally; so I suppose the question is whether providing support for these use cases would be an impediment to a set of patches being added to Python's trunk. Yours, Russ Magee %-)

On Oct 26, 2014, at 16:35, Russell Keith-Magee <russell@keith-magee.com> wrote:
I don't think it's so much people wanted to use the Unix console directly on their device, as wanting to use it when ssh'd into their device. I built 3.2 or 3.3 for iOS (on the device, using the tool chain from Cydia) just to make it usable in test scripts for an app I was working on. But that seems like a very different use case from people who want a cross-compilable framework that they can use in an app, that runs in the simulator, that has GUI libraries, etc. If it's that hard to support the interpreter, I think it would be reasonable to disable it, and let people who want that create a Cydia package separate from yours.
participants (4)
-
Andrew Barnert
-
Russell Keith-Magee
-
Todd
-
Wes Turner