[Distutils] Distribution format for Python3 libraries

Thomas Heller theller at ctypes.org
Sun Nov 17 12:12:56 CET 2013


Am 16.11.2013 21:15, schrieb Paul Moore:
> On 16 November 2013 17:59, Thomas Heller <theller at ctypes.org> wrote:
>> What is the preferred format to distribute Python-3 libraries (for Windows)
>> nowadays: wininst, egg, ...?
>
> Wheel is the format of the future.
>
> pip install will only use wheels (recent versions of pip)
> wininst doesn't support virtualenv
> egg is only supported by easy_install, which is not recommended these
> days (use pip instead)
> MSI is rarely used, and can't easily be converted to other formats
>
> Personally, I'd recommend wheel and wininst.

Ok, I'll probably follow this recommandation (but maybe I'll also
include egg).

Another question:

Is there a way to mark the distribution so that it will work for
Python 3.3 and 3.4, but not 2.x, 3.0, 3.1, or 3.2? There are existing
installers for 2.x (containing compiled extensions) already registered
on pypi.

All this is for py2exe.  Maybe I should name the python3 version 
'py3exe' instead ;-)

Thomas




More information about the Distutils-SIG mailing list