Where to download bugfix for email Module?

Oleg Broytmann phd at phd.pp.ru
Mon Mar 18 03:56:18 EST 2002


On Sun, Mar 17, 2002 at 02:52:30PM -0800, Sheila King wrote:
> >    The simplest (though not the best) solution would be to distribute a
> > copy of the email package with your code. You know, Python inserts the path
> > to your application in the beginning of sys.path, so upon "import email"
> > your copy of the package will be imported, and not standard package.
> 
> Thanks for the suggestion.
> 
> Out of curiousity...what is the *best* (or better) method???

   There is no "one size fits all" solution. You can distribute email
package with your own setup.py, and instruct your user to install it
separately, or just install it automatically in your package's setup.py. Or
you may instruct a user to download mimelib from mimelib.sf.net and install
it. Or wait for Python 2.3. It depends on who your users are and what do
you want to achieve - do you want to distribute updates to the email
packages every time it gets updates, do you want to instruct users to
remove your version of the email package when Python 2.3 will appear, and
so on.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.




More information about the Python-list mailing list