Re: How to build python binaries including external modules

2020-03-18 Thread James via Python-list
On Wednesday, March 18, 2020 at 4:44:46 PM UTC-7, Michael Torrie wrote: > Cython requires a working Python interpreter to run the setup.py. How > would that work when building python itself? Python binary is built with a host of default modules. My question was how to promote external module(s)

Re: How to build python binaries including external modules

2020-03-18 Thread Dan Stromberg
For a rather involved example of using a shell wrapper to build a bunch of python-related stuff, feel free to raid http://stromberg.dnsalias.org/svn/cpythons/trunk/ for ideas. Or even just use it. It builds python 1.0 - 3.9, and installs some dependencies like cython, pygobject and numpy. On We

Re: How to build python binaries including external modules

2020-03-18 Thread Dan Stromberg
I'm not completely sure I understand what the question is. You can 'python3 -m pip install cython'. You can use a shell/powershell wrapper that invokes the two things in series. Does that help? On Wed, Mar 18, 2020 at 4:10 PM James via Python-list < python-list@python.org> wrote: > When you bu

Re: How to build python binaries including external modules

2020-03-18 Thread Michael Torrie
On 2020-03-18 5:06 p.m., James via Python-list wrote: > When you build python binaries from source, how to add external modules? > For example, to install cython, conventional method is building python first, > then running setup.py for cython. > I'd like to combine the 2-step into one. Cython re

How to build python binaries including external modules

2020-03-18 Thread James via Python-list
When you build python binaries from source, how to add external modules? For example, to install cython, conventional method is building python first, then running setup.py for cython. I'd like to combine the 2-step into one. Thanks James -- https://mail.python.org/mailman/listinfo/python-list