[Python-Dev] Optionally using GMP to implement long if available

"Martin v. Löwis" martin at v.loewis.de
Tue Nov 4 20:53:40 CET 2008


skip at pobox.com wrote:
>     >> OTOH, it should be no big deal to drop a zip archive of the GMP
>     >> sources which correspond to the code bound into the DLL.
> 
>     Martin> How would end users then extract the sources from the DLL? How
>     Martin> would they learn that they even have them in the first place?
> 
> I think you missed an implied comma in my statement.  I meant:
> 
>     1. distribute pythonxy.dll which binds to GMP.
>     2. distribute a gmpmn.zip which contains the source for the version used
>        in #1.

Ah, I see. That *is* a big deal to many Python users, which want to
distribute pythonxy.dll as part of their application, in a single file
(e.g. py2exe), and then don't want to worry about shipping another zip
file along with their single-file executable (plus including a third
file explaining why you need to do this).

Regards,
Martin


More information about the Python-Dev mailing list