windows installer and setuptools

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?
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. But, is this how this is supposed to be?
-- Kind regard, Henk-Jan Ebbers

At 12:22 AM 10/16/2007 +0200, henk-jan ebbers wrote:
2 questions:
- 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.
- 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.
participants (2)
-
henk-jan ebbers
-
Phillip J. Eby