Re[2]: Updated eggs for linux x86 and amd64

2009-01-29 Thread Torsten Kurbad
On Thursday, January 29, 2009 at 03:44 Sidnei da Silva wrote:

> 
>> Does anyone have a great idea on how to accomplish that (besides
>> giving away a zip file that has to be manually unpacked to a proper
>> location)?

> The best way really would be to build it statically. I did manage to
> do this *once*, but fail to remember how. I'm sure it is possible
> though.

Yes, that's definitely a good idea. I'll try to accomplish this. If I'm
stuck somewhere, maybe we can explore your memory together? ;-)

Best regards,
Torsten
-- 
Never make anything simple and efficient when a way can be found to
make it complex and wonderful.  - Murphy's Law No. 13 -


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev


Re: Re[2]: Updated eggs for linux x86 and amd64

2009-01-29 Thread Waldemar Osuch
On Thu, Jan 29, 2009 at 1:17 AM, Torsten Kurbad
 wrote:
> On Thursday, January 29, 2009 at 03:44 Sidnei da Silva wrote:
>
>> 
>>> Does anyone have a great idea on how to accomplish that (besides
>>> giving away a zip file that has to be manually unpacked to a proper
>>> location)?
>
>> The best way really would be to build it statically. I did manage to
>> do this *once*, but fail to remember how. I'm sure it is possible
>> though.
>
> Yes, that's definitely a good idea. I'll try to accomplish this. If I'm
> stuck somewhere, maybe we can explore your memory together? ;-)
>

FYI

To force static build of the extensions I tweak source of
distutils/cygwinccompiler.py
After lineno 299 I have added:

#TODO enable to force static build
if False:
shared_option = "-mdll -static"

and change "False" into "True" whenever I build python-ldap.
It seems to work.

If you find a more elegant way of doing it please share.

Waldemar Osuch
http://www.osuch.org

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev