Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #4739

Re: [Python-de] Python Bibliothek auf iOS benutzen.

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From "Diez B. Roggisch" <deets@web.de>
Newsgroups de.comp.lang.python
Subject Re: [Python-de] Python Bibliothek auf iOS benutzen.
Date Tue, 4 Apr 2017 11:30:48 +0200
Lines 83
Message-ID <mailman.119.1491299025.2961.python-de@python.org> (permalink)
References <trinity-5df16430-e334-4553-a5c5-9f3ce4ec534c-1491049086986@3capp-gmx-bs56> <mailman.7.1491049099.2961.python-de@python.org> <ekh27mFaf0nU1@mid.dfncis.de> <9CB00C81-2A22-4100-AC60-2CA634B3326E@web.de>
Mime-Version 1.0 (Mac OS X Mail 10.2 \(3259\))
Content-Type multipart/signed; boundary="Apple-Mail=_90AD2F34-61E6-4AFD-B1FA-B200B7C25723"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Trace news.uni-berlin.de PO+goRPs1GG992P+LeE9jg/GGTuXY7SKXijPaeh+S4QQ==
Return-Path <deets@web.de>
X-Original-To python-de@python.org
Delivered-To python-de@mail.python.org
In-Reply-To <ekh27mFaf0nU1@mid.dfncis.de>
X-Mailer Apple Mail (2.3259)
X-Provags-ID V03:K0:KAm9jEJur7JXB22o07JghuVrxcZ8OTK8DAYN5w4c7xXb4uaUJDo HEuT402pVSNvk7rHAxpASLl9Qax3LLaNbrySto4LhoLxideRtQvku8sQqNibs9cA07UhWWf 2zD9saGHvn9RetfT08ogh+IhjyuvOyg/D8V6YXE9AU4nOl3Jn6PPzD16whE5ZUCF0XMCbW+ lzbH9Q1qzz6a7fAMpUNRA==
X-UI-Out-Filterresults notjunk:1;V01:K0:SPK4/PcaWkg=:MWuGwXwGWoJdHHl2Fw9Zi1 hivhPj13KpIlavVRSvuqRezv5iLZLDcQHcut8PLscUx+wlnjKAAAxQ9V98wvrhZwuKTeN6RSw To2VkyGx59BozNQrpPLYfp7a4EnLTr5tfY4OCNWBogn7Ktg10pT/JR8vu3zTAA7mruv5aRtvU LqyqayxSXMbJ0eO1uPPdTv5OkXufde3ovFpQnzgD1opvT7Jn0cLz16ygsPjYor0YJ60IWjSov R94g6rLqknZU4ZSdHkR8KckmjMILIjni5BTDA+nU29nbXu/liW5M0LYoJh/dlxllzWNoLHgrj 1F2dXscWBU/W2h8RDCABMi/C8rsGbWefyxw9UcE92HpAUpjJGkuzc8q+Dd5HQSWHuAWqkIAMP lS0cjrYhY9+60HpNgVVnO4TSHLbVt3y+0x10BtQNtzJ+eY6d1XjU0gsb7/+yaGkwanAZmrK2f WNWmTi+skDSa1CO9vGHPMqnBhH/+3tb0/zzSeQVk4SwbebXZhiUXgDjGWdC8sN9ASAr+fTZvW DT3wAD+ESD3CcUh+2gXqpFnPFR5cCLnsDquZk2y5corXgCQ7iccyd/WbPcCXC0IFpUSJmDkdX IvP2ZsHBhcCqs3IzPFPeYhBLsP8I5gsdy4+pd4tgWSIx/ccZVAC35Gl1cG2W9hozaKF1vuqe7 0Q4wmST6JyPLOF18Tu2w5ly183OP4FYCuQ/vV/g/mHUuJpGUO0W+DJOz2sGx9vkMLrNJKIlLu wi0lqB55OYIsb8sRG9Gzs34nKYt6A7JX2zuYNApyKcR+epCKUkCPCM7Qm8o=
X-Content-Filtered-By Mailman/MimeDel 2.1.23
X-BeenThere python-de@python.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-de/>
List-Post <mailto:python-de@python.org>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <9CB00C81-2A22-4100-AC60-2CA634B3326E@web.de>
X-Mailman-Original-References <trinity-5df16430-e334-4553-a5c5-9f3ce4ec534c-1491049086986@3capp-gmx-bs56> <mailman.7.1491049099.2961.python-de@python.org> <ekh27mFaf0nU1@mid.dfncis.de>
Xref csiph.com de.comp.lang.python:4739

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

> On 4 Apr 2017, at 10:01, Dr. Michael Lauer <mickey@helios.office.drlauer-research.com> wrote:
> 
> Robert Hai <rhey@gmx.de> wrote:
>>   Das Problem ist nur, dass ich keine Version des Python Frameworks finden
>>   kann die ich in xCode fuer iOS verwenden kann. Finden kann ich nur eine
>>   fuer OSX was nach meinem Verstaendnis von Architekturen nicht
>>   funktionieren wuerde (i386 vs. arm). Hat jemand eine Idee wie ich an so
>>   etwas kommen koennte ?
> 
> Servus Robert,
> 
> wuesste nicht, dass es fertige Binaries gaebe. Kannst Du Dir aber selbst bauen,
> Python ist halbwegs cross-compile-freundlich.

*Huust* Finde ich nicht. Wir bauen das fuer Mac & Win selbst, und das ist einer der groesseren Aufrisse vom build-system her. AFAIK darf auf IOS auch nicht dynamisch gelinkt werden, es muss also so wie unter Windows jedes Modul statisch gelinkt & dann in eine statisch Datenstruktur eintragen

 https://github.com/python/cpython/blob/6f0eb93183519024cb360162bdd81b9faec97ba6/PC/pyconfig.h <https://github.com/python/cpython/blob/6f0eb93183519024cb360162bdd81b9faec97ba6/PC/pyconfig.h>

Usw. Und das ist noch ohne cross-compilation! Da wird’s AFAIK noch mal aetzender, weil die PYCs gebaut werden sollen/muessen mit der Version die man baut, aber die laeuft ja eigentlich nur auf dem Zielsystem. Muss man dann zweimal bauen, und dann auf dem Host uebersetzen - oder so.

Wenn das dazu kommt, wuerde ich erstmal auf buildroot oder OpenADK schielen:

 https://github.com/wbx-github/openadk/blob/master/package/python3/Makefile <https://github.com/wbx-github/openadk/blob/master/package/python3/Makefile>

 https://github.com/buildroot/buildroot/tree/master/package/python <https://github.com/buildroot/buildroot/tree/master/package/python>

An anderer Stelle ist Robert geraden worden, auf SymPy zu verzichten, und das mit C++-Libs zu machen. Dem Rat wuerde ich mich anschliessen.


Diez

Back to de.comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

[Python-de] Python Bibliothek auf iOS benutzen. "Robert Hai" <rhey@gmx.de> - 2017-04-01 14:18 +0200
  Re: [Python-de] Python Bibliothek auf iOS benutzen. "Dr. Michael Lauer" <mickey@helios.office.drlauer-research.com> - 2017-04-04 08:01 +0000
    Re: [Python-de] Python Bibliothek auf iOS benutzen. "Diez B. Roggisch" <deets@web.de> - 2017-04-04 11:30 +0200
      Re: [Python-de] Python Bibliothek auf iOS benutzen. "Dr. Michael Lauer" <mickey@helios.office.drlauer-research.com> - 2017-04-16 18:48 +0000

csiph-web