Hello Howard,
On 10.2.2012 17:16, Howard Butler wrote:
>
> On Feb 7, 2012, at 9:24 AM, Sean Gillies wrote:
>>
>> Shapely's installers ship a DLL that gets installed in
>> site-packages/shapely as geos.dll and then we instruct ctypes to find
>> it relative to shapely/geos.py. Jaakko makes sure that the right DLL
>> is in the right installer. It's got the same name whether 32 or 64
>> bit.
>>
>
>
> When I build Rtree on windows, it simply names the .egg or .exe with
> win32.{egg|exe} and no information about the 32/64bitness of the library.
> Were you manually setting these filenames, or is there some incantation
> that I should be invoking to get the right behavior? Otherwise, I'm simply
> leaning toward embedding both the 64 and 32 bit dlls in the single windows
> egg/exe, and having the import select the correct one based on the
> sizeof(ctypes.c_void_p).
>
Calling setup.py bdist_wininst and bdist_egg with the same Python
version (32- or 64-bit, as appropriate) should be enough. At least that
is what I do and it adds the 'win-amd64' platform identifier for the 64-bit
packages.
Oh, and Sean, sorry for not updating Windows packages for the 1.2.14, done
now. Somehow I missed the announcement.
Regards,
Jaakko
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community