[IPython-dev] easy_install ipython==dev

Robert Kern robert.kern at gmail.com
Tue Jan 31 13:54:47 CST 2006


Fernando Perez wrote:
> Hi Ville,
> 
> Ville Vainio wrote:
> 
>>Damn, it of course runs setup.py instead of eggsetup.py, which results
>>in broken ipython scripts. Gotta explore it further, I think we need
>>to roll setup and eggsetup into one script to make this work.

Andrew Straw suggested an approach for matplotlib that I like.

import sys
if 'setuptools' in sys.modules:
    kwds = {'entry_points': {...}}
else:
    kwds = {}

setup(name='ipython',
      ...
      **kwds
     )

-- 
Robert Kern
robert.kern at gmail.com

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter




More information about the IPython-dev mailing list