[Distutils] Using setuptools as downloader for .msi/.exe

P.J. Eby pje at telecommunity.com
Fri Jun 12 19:49:24 CEST 2009


At 10:36 AM 6/12/2009 +0200, Hartmut Goebel wrote:
>Hello,
>
>how can I use setuptools for downloading (and installing) .msi and .exe
>on Windows? I need this for extension modules like pygtk, lxml, psycopg2.
>
>Or at least for finding the files within a html page, like easy_install
>does.

See the setuptools.package_index module.  You probably want to 
subclass PackageIndex, and use your own versions of the 
distros_for_location() or interpret_distro_name() functions.



More information about the Distutils-SIG mailing list