Thursday, January 6, 2011

How do I distribute precompiled extension modules for Windows on pypi for multiple versions of Python?

Programmer Question

I would like to distribute a precompiled C extension module for Python 2.6 and Python 2.7 for 32- and 64-bit versions of Python. How should I build and distribute that on pypi? Should I just use bdist_egg? Can I retain compatibility with pip?



I notice ordinary bdist just creates a .zip that does not include the Python version, although the internal folder structure does. Can this .zip just contain e.g. a Python26 and Python27 subdirectory?



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails