[Distutils] windows installer and setuptools

Phillip J. Eby pje at telecommunity.com
Tue Oct 16 02:21:13 CEST 2007

At 12:22 AM 10/16/2007 +0200, henk-jan ebbers wrote:
>2 questions:
>1. Can I use the (great) dependency handling of setuptools in a windows
>installer, eg by packing a python egg in a windows installer?

No.  It's an either-or thing.  However, easy_install *can* resolve 
dependencies using bdist_wininst downloads.

>2. When I make a windows installer (bdist_wininst) I assumed the windows
>installer is python-version independent.  (BTW, I use setuptools.)
>But, when making the installer with python 2.4, and installing with
>python 2.5, my package is installed in the right place (python 2.5), but
>the egg-info is installed as bots-1.1.0-py2.4.egg-info.
>As far as I can see, this is not a problem for running my application.

It would be if something else depended on it.

>But, is this how this is supposed to be?

No.  Setuptools should always mark its windows installers as Python 
version-specific, as they are not portable, even if the package 
doesn't contain extensions.

More information about the Distutils-SIG mailing list