I have a python script using the cython module I wrote. I want to publish it, and in order to save users from having to compile cython stuff (especially complex in Windows), I want to provide precompiled extensions.
However, I will need one version for 32 bits and another for 64. I thought about including two files as mymodule32.pyd and mymodule64.pyd, and then mymodule.py does the following:
if bits == 32:
from mymodule32 import *
elif bits == 64:
from mymodule64 import *
But that seems awkward. What if the user decides to compile the module itself producing mymodule.pyd?
source
share