[IPython-dev] iPython binary wheels for OS-X
MinRK
benjaminrk at gmail.com
Mon Dec 9 18:03:34 EST 2013
On Mon, Dec 9, 2013 at 2:47 PM, Aaron Meurer <asmeurer at gmail.com> wrote:
> On Mon, Dec 9, 2013 at 3:44 PM, Chris Barker <chris.barker at noaa.gov>
> wrote:
> > On Mon, Dec 9, 2013 at 2:42 PM, Aaron Meurer <asmeurer at gmail.com> wrote:
> >>
> >> There's the rl library. https://pypi.python.org/pypi/rl.
> >>
> > Any idea if it supports (a superset of) the same API as the built-in
> > readline?
> >
> > -Chris
>
> I'm not 100%, but I think it does. It definitely supports way more
> things than built-in readline. But I'm not 100% sure if everything
> from readline is also in rl. Anyway, if it doesn't, it's all open
> source :)
>
Looks like it's pretty much
compatible<http://pythonhosted.org/rl/readline.html#readline-interface>.
This might the the way to go, though Ludwig just merged my PR on
python-readline, which we know already works.
One of the sticky things with wheels (and easy with setup.py) is that a
readline package should only be a dependency if stdlib readline is actually
libedit. That's true of System Python and Python.org, but it is not true of
conda Python or macports (both of which regularly pip install ipython, so
it matters, even though they both have IPython packages). So if IPython is
going to start building wheels, it needs to be able to express dependencies
like that, and the platform is simply insufficient information.
-MinRK
>
> Aaron Meurer
>
> >
> >
> >
> >
> >
> >
> >>
> >> Aaron Meurer
> >>
> >> On Mon, Dec 9, 2013 at 9:40 AM, Chris Barker <chris.barker at noaa.gov>
> >> wrote:
> >> > On Mon, Dec 9, 2013 at 8:26 AM, Paul Moore <p.f.moore at gmail.com>
> wrote:
> >> >>
> >> >> Guido specifically did not want to have user
> >> >> installed packages able to overwrite stdlib behaviour.
> >> >
> >> >
> >> > makes some sense...
> >> >
> >> >> So, by policy, it's hard to override stdlib modules - even when they
> >> >> don't work right (which appears to be the issue with readline on OSX,
> >> >> if I understand the comments in this thread properly). IMO, we'd be a
> >> >> lot better off readline was split out of the stdlib so that things
> >> >> like improved OSX support and pyreadline for Windows could be added.
> >> >> But I doubt that will ever happen :-(
> >> >
> >> >
> >> > Maybe rather than overriding an stsdlib package, it could be given a
> new
> >> > name:
> >> >
> >> > "readline2", or somethign more creative. This wouldn't allow you to
> >> > install
> >> > and "fixed" one that would then automagically work everywhere, but
> would
> >> > allow 3rd party packages to depend on it. And, of course, it oculd be
> >> > imported conditionally:
> >> >
> >> > try:
> >> > import readline2 as readline
> >> > except:
> >> > import readline
> >> >
> >> > On the other hand, the current third party readline really is a
> >> > replacement
> >> > for the (sometimes broken) built-in-readline, so maybe overwriting
> does
> >> > make
> >> > sense in this case -- even though it should be discouraged in teh
> >> > general
> >> > case.
> >> >
> >> > Anyone know if the readline authors would be amenable to putting the
> >> > path-hack that's in iPyton in readline instead? That's clearly where
> it
> >> > belongs...(or is that impossible?, after all it would have to get
> >> > imported
> >> > to run, and it wouldn't get imported......)
> >> >
> >> > -Chris
> >> >
> >> >
> >> > --
> >> >
> >> > Christopher Barker, Ph.D.
> >> > Oceanographer
> >> >
> >> > Emergency Response Division
> >> > NOAA/NOS/OR&R (206) 526-6959 voice
> >> > 7600 Sand Point Way NE (206) 526-6329 fax
> >> > Seattle, WA 98115 (206) 526-6317 main reception
> >> >
> >> > Chris.Barker at noaa.gov
> >> >
> >> > _______________________________________________
> >> > IPython-dev mailing list
> >> > IPython-dev at scipy.org
> >> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >> >
> >> _______________________________________________
> >> IPython-dev mailing list
> >> IPython-dev at scipy.org
> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> >
> >
> >
> > --
> >
> > Christopher Barker, Ph.D.
> > Oceanographer
> >
> > Emergency Response Division
> > NOAA/NOS/OR&R (206) 526-6959 voice
> > 7600 Sand Point Way NE (206) 526-6329 fax
> > Seattle, WA 98115 (206) 526-6317 main reception
> >
> > Chris.Barker at noaa.gov
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20131209/dd7b8500/attachment.html>
More information about the IPython-dev
mailing list