[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 wrote:
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.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 currently running one, or it's 
because our setup.py (for building the CPython extension modules) uses 
sysconfig.


Either way, I'm not about to propose a rewrite to fix either of them 
without finding those who are most involved in these areas. Please 
come join me on the bug.


Thanks,
Steve

___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/XMPNAGOCABV6LD7PO3ZRWH4KZJ6E72S2/
Code of Conduct: http://python.org/psf/codeofconduct/


[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.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 currently running one, or it's 
because our setup.py (for building the CPython extension modules) uses sysconfig.


Either way, I'm not about to propose a rewrite to fix either of them without finding those who are most involved in these areas. Please 
come join me on the bug.


Thanks,
Steve
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/6DBYMDCDLOS245XK57BD3E2GXGVDMBPX/
Code of Conduct: http://python.org/psf/codeofconduct/


--
Regards,
Ivan
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/LFW7HQDBE4QZBO6GGTCYFEMOWHW6FA7L/
Code of Conduct: http://python.org/psf/codeofconduct/


[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 currently running one, or it's because 
our setup.py (for building the CPython extension modules) uses sysconfig.


Either way, I'm not about to propose a rewrite to fix either of them 
without finding those who are most involved in these areas. Please come 
join me on the bug.


Thanks,
Steve
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/6DBYMDCDLOS245XK57BD3E2GXGVDMBPX/
Code of Conduct: http://python.org/psf/codeofconduct/