[IPython-dev] easy_install ipython==dev
Andrew Straw
strawman at astraw.com
Wed Feb 1 04:36:02 EST 2006
Robert Kern wrote:
>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
> )
>
>
>
And just in case people aren't sure how setuptools is supposed to get in
sys.modules:
python -c "import setuptools; execfile('setup.py')" bdist_egg
More information about the IPython-dev
mailing list