[IPython-dev] Adding setupttols to iptyhon's setup.py

Ville M. Vainio vivainio@gmail....
Wed Dec 12 11:00:47 CST 2007

On Dec 12, 2007 4:11 PM, Gael Varoquaux <gael.varoquaux@normalesup.org> wrote:

> I would like to add these lines to the setup.py:
> """
> try:
>     from setuptools import setup, find_packages
> except ImportError:
>     pass
> """
> I cannot see waht harm this can do, and I can see the benefit: I install
> an svn checkout of ipython with:
> """
> sudo python setup.py develop --prefix /usr/local
> """
> and then maintain this check out by doing "svn up", and this even in
> windows.
> What do you think?

This has been discussed extensively in the past, with a halfway
consensus that we should not do it.

However, there is no harm in your snippet iff you check that 'develop'
is in sys.argv. We should still try using normal distutils for normal

Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'

More information about the IPython-dev mailing list