Comment 3 for bug 504968

Revision history for this message
Brian Granger (ellisonbg) wrote : Re: [Bug 504968] [NEW] Better setuptools detection

> The current setup.py does not use setuptools if it is already installed.

At this point, we consider this to be a feature rather than a bug. In
our experience,
setuptools should only be used if a user asks for it, not merely
because setuptools
happens to be installed - doing otherwise creates problems for users
who don't want
to use setuptools.

But, to install IPython using setuptools, you can do:

python setupegg.py install

Cheers,

Brian

> Repro steps:
>
> 1. Install setuptools or Distribute normally.
> 2. Download and extract IPython 0.10
> 3. Run "python setup.py install"
>
> You will note that the .exe wrappers are not installed (they may be only
> installed via "easy_install ipython" I think).
>
> Why is this important? Because binary package managers like PyPM
> [pypm.activestate.com] run "python setup.py install" - and does not use
> the easy_install sandbox.
>
> Attached is the patch that fixes it.
>
> ** Affects: ipython
>     Importance: Undecided
>         Status: New
>
> --
> Better setuptools detection
> https://bugs.launchpad.net/bugs/504968
> You received this bug notification because you are a member of IPython
> Developers, which is subscribed to IPython.
>
> Status in IPython - Enhanced Interactive Python: New
>
> Bug description:
> The current setup.py does not use setuptools if it is already installed. Repro steps:
>
> 1. Install setuptools or Distribute normally.
> 2. Download and extract IPython 0.10
> 3. Run "python setup.py install"
>
> You will note that the .exe wrappers are not installed (they may be only installed via "easy_install ipython" I think).
>
> Why is this important? Because binary package managers like PyPM [pypm.activestate.com] run "python setup.py install" - and does not use the easy_install sandbox.
>
> Attached is the patch that fixes it.
>
>
>

--
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
<email address hidden>
<email address hidden>