How to build python binaries including external modules

Dan Stromberg drsalists at gmail.com
Wed Mar 18 19:54:43 EDT 2020


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 Wed, Mar 18, 2020 at 4:50 PM Dan Stromberg <drsalists at gmail.com> wrote:

>
> 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 at python.org> 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.
>>
>> Thanks
>> James
>> --
>> https://mail.python.org/mailman/listinfo/python-list
>>
>


More information about the Python-list mailing list