Is missing "python.default_version" bug?

Ryan Schmidt ryandesign at macports.org
Sat Mar 22 10:58:40 PDT 2014


On Mar 22, 2014, at 08:38, Mathias Laurin wrote:

> Some ports like py-ipython and py-cython do not set
> `python.default_version`.  The result is that `port install py-ipython`
> pulls py24-ipython.  So (1) should this be reported as a bug (the patch
> is trivial in any case)?

This was intended behavior.

> (2) I could not find how to tell port that
> `py-ipython` should install `py27-ipython`, so I installed
> `py27-ipython` directly.  Is this the recommended way?

Yes, you’re meant to install py27-ipython, if that’s what you want; there’s no reason to install py-ipython.

> And (3) is there
> a way to globally tell macports that I want `python.default_version 27`
> by default?

No, that wouldn’t make sense.



More information about the macports-users mailing list