[Distutils] force static linking

Dan Stromberg drsalists at gmail.com
Mon Mar 23 19:45:22 CET 2015


Is this the general perspective on static linking of python module
dependencies?  That if your systems are the same, you don't need to?

I want static linking too, but if it's swimming upstream in a fast
river, I may reconsider.

Thanks.

On Mon, Mar 23, 2015 at 11:41 AM, Bill Deegan <bill at baddogconsulting.com> wrote:
> Gordon,
>
> If you are sure that your dev and production environments match, then you
> should have same shared libraries on both, and no need for static linkage?
>
> -Bill
>
> On Mon, Mar 23, 2015 at 11:36 AM, Dan Stromberg <drsalists at gmail.com> wrote:
>>
>> On Thu, Sep 11, 2014 at 5:28 AM, gordon <wgordonw1 at gmail.com> wrote:
>> > Hello,
>> >
>> > I am attempting to build statically linked distributions.
>> >
>> > I am using docker containers to ensure the deployment environment
>> > matches
>> > the build environment so there is no compatibility concern.
>> >
>> > Is there any way to force static linking so that wheels can be installed
>> > into a virtual env without requiring specific packages on the host?
>>
>> Maybe pass -static in $LDFLAGS?  Just a wild guess really.
>> _______________________________________________
>> Distutils-SIG maillist  -  Distutils-SIG at python.org
>> https://mail.python.org/mailman/listinfo/distutils-sig
>
>


More information about the Distutils-SIG mailing list