[Python-Dev] Re: [bpo-22699] Cross-compiling and fixing sysconfig

2020-03-19 Thread Steve Dower
Distutils is learning slowly, but this is about the setup.py that's used to build CPython's own extension modules (everything in lib/python3.8/lib-dynload). Questions about building third-party packages go to distutils-sig, not python-dev :) Cheers, Steve On 19Mar2020 2034, Ivan Pozdeev via

[Python-Dev] Re: [bpo-22699] Cross-compiling and fixing sysconfig

2020-03-19 Thread Ivan Pozdeev via Python-Dev
Last time I checked, distutils didn't support compilation for anything but the running Python instance, nor was it intended to. Should it? If not, the efforts look misplaced, you should rather use a toolchain that does... On 19.03.2020 23:22, Steve Dower wrote: So over on https://bugs.python.or

[Python-Dev] [bpo-22699] Cross-compiling and fixing sysconfig

2020-03-19 Thread Steve Dower
So over on https://bugs.python.org/issue22699 I've been talking to myself as I figure out all the ways that cross-compiling (on Ubuntu, targeting another Linux distro via an SDK) fails. In short, it's either because sysconfig can't provide details about any CPython install other than the curre