Re: manylinux wheels in Alpine docker (musl (with glibc optionally also installed)) "Clarify that pip wheels are incompatible with alpine-based images" https://github.com/docker-library/docs/issues/904 "Install manylinux wheel although it's not officially supported by the host" https://github.com/pypa/pip/issues/3969#issuecomment-495991727 :
```bash RUN echo 'manylinux1_compatible = True' >
/usr/local/lib/python3.7/site-packages/_manylinux.py
RUN python -c 'import sys; sys.path.append(r"/_manylinux.py")' ```
On Tue, Apr 7, 2020, 10:58 AM João Santos
On Tuesday, 7 April 2020 10:52:36 CEST M.-A. Lemburg wrote:
Hi Antonio,
you may want to have a look at the Alpine images for Python and this optimized variant:
https://github.com/jfloff/alpine-python
They also come with dev tools installed. Still, they are overall rather clunky to ship around. On the plus side, you can layer images in docker, so that applications could reuse the base images, once downloaded.
Thanks,
Python Projects, Coaching and Support ... https://www.egenix.com/ Python Product Development ... https://consulting.egenix.com/
________________________________________________________________________
::: We implement business ideas - efficiently in both time and costs ::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 https://www.egenix.com/company/contact/ https://www.malemburg.com/
On 4/3/2020 3:18 PM, Antonio Cavallo wrote:
Hi Marc-Andre,
yes pyrun is sort of what I had in mind :) That would be like the jre part of the jdk if you're familiar with java.
Ideally users will download the jre and use for running applications (eg. pyrun) but if there's a need for an extension build one need to have a compiler.. now given the plethora of linux distros that's a logistic nightmare.
So my little project does that (following the linux from scratch guidelines): it builds the toolchain (minus libc) the compiler and the python interpreter in one giant (at the moment) tarball. It should be easy to extract from it the runtime part (eg. the pyrun equivalent or the miniconda).
I hope this makes a bit more sense.
On Fri, 3 Apr 2020 at 04:46, M.-A. Lemburg
mailto:mal@egenix.com> wrote: Hi Antonio,
could you please spell out your requirements a bit more clearly ?
I have a hard time trying to understand what you're after. It seems to be about some sort of Python extension building environment for Linux, but I could be wrong.
You normally don't need to build Python itself just to build an extension.
If you're looking for a standardized Python build for Linux, PyRun might be what you want: http://pyrun.org/
Thanks,
Professional Python Services directly from the Experts (#1, Apr 03 2020)
>>> Python Projects, Coaching and Support ... >>> https://www.egenix.com/ >>> Python Product Development ... >>> https://consulting.egenix.com/
__
::: We implement business ideas - efficiently in both time and
costs :::
eGenix.com Software, Skills and Services GmbH
Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 https://www.egenix.com/company/contact/ https://www.malemburg.com/
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/42V
LPXWZKET6L3PIXSTIT2DN4E4M25VF/ Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/74UAJ
5YKJU3VQPFNVP2QUCPNT656Z7EE/ Code of Conduct: http://python.org/psf/codeofconduct/
It's a bad idea to use alpine with Python. See:
- https://github.com/iron-io/dockers/issues/42#issuecomment-290763088 - https://github.com/pypa/manylinux/issues/37 - https://superuser.com/questions/1219609/why-is-the-alpine-docker-image-over-...
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/QWIOLN... Code of Conduct: http://python.org/psf/codeofconduct/