[Tutor] Auto package install?

python-tutor@toddmaynard.com python-tutor at toddmaynard.com
Tue Dec 6 21:28:37 CET 2005


Scott,

Take a look at setuptools:  http://peak.telecommunity.com/DevCenter/setuptools 

It should handle everything you are looking for with ease.  Turbogears  
( http://turbogears.org )is a real world project that uses it.

So far it seems to be flexible and reliabe for me.

Good Luck,

--Todd Maynard  


On Tuesday 06 December 2005 12:16, Nelson, Scott wrote:
> The Zen of Python (http://www.python.org/doc/Humor.html#zen) states:
>
> "There should be one-- and preferably only one --obvious way to do it."
>
>
>
> I'm searching for the obvious Pythonic way to achieve automated package
> installation (I believe Perl's CPAN can be used to accomplish this in
> Perl?).  I'd like to have a way where a Python script can automatically
> download/install/update the versions of packages it needs to run.  I'm
> looking to avoid requiring the users of my scripts to manually download
> and install a pile of packages (with potential for user error) just to
> run my scripts.  I use mostly common packages such as wxPython.  My
> scripts may eventually get out to > 100 people over 3 states so I want
> to minimize administration and potential for user error.
>
>
>
> I'm aware of the very handy CheeseShop (http://www.python.org/pypi), but
> this doesn't automate the installation process.  I've done some googling
> and found ciphon (http://sourceforge.net/projects/pythonsiphon) and
> pypan (http://starship.python.net/crew/theller/pypan/), but both seem
> somewhat abandoned and incomplete.  EasyInstall
> (http://peak.telecommunity.com/DevCenter/EasyInstall) seems new and I'm
> willing to hear any experiences with it.
>
>
>
> I also glanced thru c.l.p and most of the discussions seem a few years
> old and bordered on holy wars with no real obvious resolution...
>
>
>
> So, what is the obvious way to accomplish this?  If no such solution
> exists currently, what do people consider "best practices" when
> releasing scripts dependent on other packages to a number of users?
>
>
>
> Thanks for the help.  I'm relatively new to the group and it has been
> great so far!
>
>
>
> -Scott


More information about the Tutor mailing list