Distributing programs depending on third party modules.

Kevin Walzer kw at codebykevin.com
Wed May 16 09:39:15 EDT 2007


Bruno Desthuilliers wrote:
> Kevin Walzer a écrit :
> 
> Note that if you go that way, neither Windows nor MacOS X are actually 
> able to cleanly manage such dependencies (which is why the usual 
> solution on these platforms - or at least on Windows - is to just bundle 
> everything in a single big package). FWIW, I sure had much more trouble 
> with "DLHell" on Windows than on Gentoo or Ubuntu.

I target Mac OS X only with my Python application. py2app wraps up 
Python, Tcl/Tk, and the related items into a single application bundle, 
which the user can then install via drag-and-drop. The resulting package 
is big, but hard drive space is cheap these days.

> 
> I'm already impressed by the whole setuptools package.
> 

In general, I agree with this statement. It's very simple to do sudo 
easy_install mypythonextension--even easier than grabbing a tarball 
myself and doing python setup.py, because it downloads the bits for you.

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com



More information about the Python-list mailing list