[issue44126] Cross Compile Cython Modules

2021-05-14 Thread Ned Deily


Ned Deily  added the comment:

Ah, that makes more sense.

Alas, while there has been some support for various cross-compiling scenarios 
added to cPython itself, including targeting for Android, for the most part 
they are not well-documented if at all and are not regularly tested as part of 
our release process. Further, while Distutils has been a part of the cPython 
standard library for many years, it is now deprecated for building modules not 
in the standard library. The PyPA recommends using setuptools instead of 
Distutils, in general, and there are other build tools out there. How well each 
of them support cross-compiling would be a good thing to research and ask. 
https://packaging.python.org/key_projects/?highlight=setuptools#distutils

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44126] Cross Compile Cython Modules

2021-05-13 Thread Jeff Moguillansky


Jeff Moguillansky  added the comment:

Sorry I meant cpython.
Distutils is part of cpython?
Currently it doesn't seem to support cross compiling?

On Thu, May 13, 2021, 1:08 PM Ned Deily  wrote:

>
> Ned Deily  added the comment:
>
> This issue tracker is for issues with cPython and the Python Standard
> Library. Cython is a third-party project that is not part of cPython. You
> should ask in a Cython forum (see https://cython.org/#development) or a
> general forum like StackOverflow.
>
> --
> nosy: +ned.deily
> resolution:  -> third party
> stage:  -> resolved
> status: open -> closed
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44126] Cross Compile Cython Modules

2021-05-13 Thread Ned Deily


Ned Deily  added the comment:

This issue tracker is for issues with cPython and the Python Standard Library. 
Cython is a third-party project that is not part of cPython. You should ask in 
a Cython forum (see https://cython.org/#development) or a general forum like 
StackOverflow.

--
nosy: +ned.deily
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44126] Cross Compile Cython Modules

2021-05-13 Thread Jeff Moguillansky


New submission from Jeff Moguillansky :

Hi,
I was able to cross-compile Python 3.9.4 for Android.
How do I cross-compile cython modules?
I found one tool online: https://pypi.org/project/crossenv/
but it doesn't seem to be compatible with android clang?
Does cython support cross-compiling modules?

--
components: Cross-Build
messages: 393599
nosy: Alex.Willmer, jmoguill2
priority: normal
severity: normal
status: open
title: Cross Compile Cython Modules
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com