Re: [Distutils] windows installer and setuptools
At 06:27 AM 10/16/2007 +0200, henk-jan ebbers wrote:
Phillip J. Eby wrote:
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. Thanks for answering but is this an error? in disutils?
It's a setuptools error if it wrote the .exe without including py2.4 in the filename. Otherwise, it's operator error if you installed a py2.4 .exe into Python 2.5. :)
participants (1)
-
Phillip J. Eby