Re: Why can't I select the Mountain Lion Python 2.7?

2012-08-09 Thread Samuel Halliday
Thanks,

I figured that might be the case. Apple even seem to be shipping three 
different versions of Python this time around - and nobody wants to use them!

Fundamentally, my problem is that I want to install a python library with 
easy_install and that is connected to the system Python. Furthermore, I 
frequently come up against scripts that start

#!/usr/bin/python

instead of, what we all know should be used,

#!/usr/bin/env python

Other than changing the scripts, or manually sudo changing /usr/bin/python, is 
there a solution to that problem?

And, can somebody please advise on how to install easy_install?


PS: I'm increasingly becoming more opposed to mailing lists - they require so 
much setup. Is this community also active on 
http://stackoverflow.com/questions/tagged/macports ? I find Stack Overflow to 
be a much more natural place for these sorts of QAs, with mailing lists being 
reserved for discussions (Google Groups is easily the most superior choice).

-- 
Sam

On 9 Aug 2012, at 00:09, Brandon Allbery allber...@gmail.com wrote:

 On Wed, Aug 8, 2012 at 7:01 PM, Sam Halliday sam.halli...@gmail.com wrote:
 Furthermore, is it possible to install subversion-python27bindings against
 the system Python 2.7?
 
 No it is not, no this is not a bug, no it will not be fixed.  This is also 
 why there's no mechanism to select the system python (although it wouldn't be 
 that difficult to add one, it's usually a bad idea).
 https://trac.macports.org/wiki/FAQ#ownlibs (and most of the questions around 
 it) 
 
 Homebrew was the most recent attempt by someone to pretend that avoiding the 
 system-installed stuff is just being stupid or whatever.  It, like everyone 
 else, has switched to installing and managing its own ecosystem.
 
 -- 
 brandon s allbery  allber...@gmail.com
 wandering unix systems administrator (available) (412) 475-9364 vm/sms
 



smime.p7s
Description: S/MIME cryptographic signature
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Why can't I select the Mountain Lion Python 2.7?

2012-08-09 Thread Chris Jones
Hi,

 PS: I'm increasingly becoming more opposed to mailing lists - they require so 
 much setup. Is this community also active on 
 http://stackoverflow.com/questions/tagged/macports ? I find Stack Overflow to 
 be a much more natural place for these sorts of QAs, with mailing lists 
 being reserved for discussions (Google Groups is easily the most superior 
 choice).

Personally, I'm the exact opposite. I dislike any web based discussion forums 
and much prefer mailing lists. Each to their own ...

Chris

 
 -- 
 Sam
 
 On 9 Aug 2012, at 00:09, Brandon Allbery allber...@gmail.com wrote:
 
 On Wed, Aug 8, 2012 at 7:01 PM, Sam Halliday sam.halli...@gmail.com wrote:
 Furthermore, is it possible to install subversion-python27bindings against
 the system Python 2.7?
 
 No it is not, no this is not a bug, no it will not be fixed.  This is also 
 why there's no mechanism to select the system python (although it wouldn't 
 be that difficult to add one, it's usually a bad idea).
 https://trac.macports.org/wiki/FAQ#ownlibs (and most of the questions around 
 it) 
 
 Homebrew was the most recent attempt by someone to pretend that avoiding the 
 system-installed stuff is just being stupid or whatever.  It, like 
 everyone else, has switched to installing and managing its own ecosystem.
 
 -- 
 brandon s allbery  allber...@gmail.com
 wandering unix systems administrator (available) (412) 475-9364 vm/sms
 
 
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 http://lists.macosforge.org/mailman/listinfo/macports-users



smime.p7s
Description: S/MIME cryptographic signature
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Why can't I select the Mountain Lion Python 2.7?

2012-08-09 Thread Samuel Halliday
Nevermind, fixed this by updating my PATH

export 
PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/:$PATH

-- 
Sam

On 9 Aug 2012, at 09:09, Samuel Halliday sam.halli...@gmail.com wrote:

 Thanks,
 
 I figured that might be the case. Apple even seem to be shipping three 
 different versions of Python this time around - and nobody wants to use them!
 
 Fundamentally, my problem is that I want to install a python library with 
 easy_install and that is connected to the system Python. Furthermore, I 
 frequently come up against scripts that start
 
 #!/usr/bin/python
 
 instead of, what we all know should be used,
 
 #!/usr/bin/env python
 
 Other than changing the scripts, or manually sudo changing /usr/bin/python, 
 is there a solution to that problem?
 
 And, can somebody please advise on how to install easy_install?
 
 
 PS: I'm increasingly becoming more opposed to mailing lists - they require so 
 much setup. Is this community also active on 
 http://stackoverflow.com/questions/tagged/macports ? I find Stack Overflow to 
 be a much more natural place for these sorts of QAs, with mailing lists 
 being reserved for discussions (Google Groups is easily the most superior 
 choice).
 
 -- 
 Sam
 
 On 9 Aug 2012, at 00:09, Brandon Allbery allber...@gmail.com wrote:
 
 On Wed, Aug 8, 2012 at 7:01 PM, Sam Halliday sam.halli...@gmail.com wrote:
 Furthermore, is it possible to install subversion-python27bindings against
 the system Python 2.7?
 
 No it is not, no this is not a bug, no it will not be fixed.  This is also 
 why there's no mechanism to select the system python (although it wouldn't 
 be that difficult to add one, it's usually a bad idea).
 https://trac.macports.org/wiki/FAQ#ownlibs (and most of the questions around 
 it) 
 
 Homebrew was the most recent attempt by someone to pretend that avoiding the 
 system-installed stuff is just being stupid or whatever.  It, like 
 everyone else, has switched to installing and managing its own ecosystem.
 
 -- 
 brandon s allbery  allber...@gmail.com
 wandering unix systems administrator (available) (412) 475-9364 vm/sms
 
 



smime.p7s
Description: S/MIME cryptographic signature
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Why can't I select the Mountain Lion Python 2.7?

2012-08-09 Thread Brandon Allbery
On Thu, Aug 9, 2012 at 4:09 AM, Samuel Halliday sam.halli...@gmail.comwrote:

 Fundamentally, my problem is that I want to install a python library with
 easy_install and that is connected to the system Python. Furthermore, I
 frequently come up against scripts that start


The py??-distribute ports install easy_install and friends for their
respective Python ports.

PS: I'm increasingly becoming more opposed to mailing lists - they require
 so much setup. Is this community also active on
 http://stackoverflow.com/questions/tagged/macports ? I find Stack
 Overflow to be a much more natural place for these sorts of QAs, with
 mailing lists being reserved for discussions (Google Groups is easily the
 most superior choice).


There's occasional activity there but most of us actually prefer the
mailing list.

-- 
brandon s allbery  allber...@gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Why can't I select the Mountain Lion Python 2.7?

2012-08-09 Thread Phil Dobbin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Samuel Halliday wrote:

 Nevermind, fixed this by updating my PATH
 
 export 
 PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/:$PATH

I personally just have MacPort's python27 installed, use a variation of
that $PATH  use virtualenv for all things Python if I can. Clean,
efficient  if anything runs amok, easily detroyable.

Cheers,

  Phil...

- -- 
But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

Wm. Shakespeare - Much Ado About Nothing

-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQI/qPAAoJEKuJdOaOnmMJCEsH/RN91/D7AVd+vQB8RGTHWxMF
/vvzdvvhqYXGudOh45xGFaFlWVmaE+Q7fzNVne4VOc6Vsoy04CkKsynkgCUr9LF4
9GiNw95Jmas6iScBayWea6plBzPMQ+aAbwZiaG6e7fTQAolcbtrY3Kziks6FNtWt
Z+MKAXgRByMWJPOeGJ/2qKZiPSxMo8NbW61fQ6E0KrnTpWZ1/dbZCdUwdgPqXS34
UKXBH7m8cXPg5afwmWxE7tj02ZynSn4pgk2QSO+BHfvLVFj3XQmDmio6Y2+nj/g9
S+5a/2CsjU6G9JU0E21oJplFmWVWDVS8mgxvkPPbQNAl7Bp+QWlKdmtct20QrJo=
=3mbF
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Why can't I select the Mountain Lion Python 2.7?

2012-08-09 Thread Jasper Frumau



 PS: I'm increasingly becoming more opposed to mailing lists - they require
 so much setup. Is this community also active on
 http://stackoverflow.com/questions/tagged/macports ? I find Stack
 Overflow to be a much more natural place for these sorts of QAs, with
 mailing lists being reserved for discussions (Google Groups is easily the
 most superior choice).


I normally get answers here way quicker on the mailing list as all the
experts are here. Asked a question on Stack Overflow as well, but got it
answered through the mailing list in the end.



 --
 Sam

 On 9 Aug 2012, at 00:09, Brandon Allbery allber...@gmail.com wrote:

  On Wed, Aug 8, 2012 at 7:01 PM, Sam Halliday sam.halli...@gmail.com
 wrote:
  Furthermore, is it possible to install subversion-python27bindings
 against
  the system Python 2.7?
 
  No it is not, no this is not a bug, no it will not be fixed.  This is
 also why there's no mechanism to select the system python (although it
 wouldn't be that difficult to add one, it's usually a bad idea).
  https://trac.macports.org/wiki/FAQ#ownlibs (and most of the questions
 around it)
 
  Homebrew was the most recent attempt by someone to pretend that avoiding
 the system-installed stuff is just being stupid or whatever.  It, like
 everyone else, has switched to installing and managing its own ecosystem.
 
  --
  brandon s allbery
 allber...@gmail.com
  wandering unix systems administrator (available) (412) 475-9364
 vm/sms
 


 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 http://lists.macosforge.org/mailman/listinfo/macports-users


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Why can't I select the Mountain Lion Python 2.7?

2012-08-08 Thread Sam Halliday

Hi all,

I really don't want to install macport's Python, because Mountain Lion
already comes with Python. If I uninstall python27 (and all the ports that
depend on it) and issue port select --list python I get

Available versions for python:
none (active)

Does this mean I can't select the system python27? And if so, why is this?

Furthermore, is it possible to install subversion-python27bindings against
the system Python 2.7?

PS: is it possible to be subscribed to this mailing list so that I can post
via nabble, but without receiving *ANY* e-mails? Google Groups makes such a
thing very easy.
-- 
View this message in context: 
http://old.nabble.com/Why-can%27t-I-select-the-Mountain-Lion-Python-2.7--tp34274356p34274356.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Why can't I select the Mountain Lion Python 2.7?

2012-08-08 Thread Brandon Allbery
On Wed, Aug 8, 2012 at 7:01 PM, Sam Halliday sam.halli...@gmail.com wrote:

 Furthermore, is it possible to install subversion-python27bindings
 against
 the system Python 2.7?


No it is not, no this is not a bug, no it will not be fixed.  This is
also why there's no mechanism to select the system python (although it
wouldn't be that difficult to add one, it's usually a bad idea).
https://trac.macports.org/wiki/FAQ#ownlibs (and most of the questions
around it)

Homebrew was the most recent attempt by someone to pretend that avoiding
the system-installed stuff is just being stupid or whatever.  It, like
everyone else, has switched to installing and managing its own ecosystem.

-- 
brandon s allbery  allber...@gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Why can't I select the Mountain Lion Python 2.7?

2012-08-08 Thread Clemens Lang
On Wed, Aug 08, 2012 at 04:01:52PM -0700, Sam Halliday wrote:
 I really don't want to install macport's Python, because Mountain Lion
 already comes with Python. If I uninstall python27 (and all the ports
 that depend on it) and issue port select --list python I get
 
 Available versions for python:
   none (active)
 
 Does this mean I can't select the system python27? And if so, why is this?

Did you install the python_select port? It sohuld install a couple of
files in /opt/local/etc/select/python that allow selecting the system
python. However, this is useless, since you already have none selected
and typing python in a terminal will fall back to the system python.

 Furthermore, is it possible to install subversion-python27bindings
 against the system Python 2.7?

No, and it's not supported, and it won't be.

 PS: is it possible to be subscribed to this mailing list so that I can
 post via nabble, but without receiving *ANY* e-mails? Google Groups
 makes such a thing very easy.

Since this is a mailman list, you can probably change your delivery
settings using the usual mail interface or the web interface at
http://lists.macosforge.org/mailman/listinfo/macports-dev.


On Wed, Aug 08, 2012 at 07:09:16PM -0400, Brandon Allbery wrote:
 Homebrew was the most recent attempt by someone to pretend that
 avoiding the system-installed stuff is just being stupid or
 whatever. It, like everyone else, has switched to installing and
 managing its own ecosystem.

They finally did?

-- 
Clemens Lang

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Why can't I select the Mountain Lion Python 2.7?

2012-08-08 Thread Ryan Schmidt

On Aug 8, 2012, at 18:01, Sam Halliday wrote:

 PS: is it possible to be subscribed to this mailing list so that I can post
 via nabble, but without receiving *ANY* e-mails? Google Groups makes such a
 thing very easy.

Yes, this is possible. Go the mailing list page:

http://lists.macosforge.org/mailman/listinfo/macports-users

Scroll down, enter your email address into the last text box, and click the 
Unsubscribe or edit options button.

On the next page, enter your password and click the Log in button. If you've 
forgotten your password, click the Remind button to have it emailed to you.

On the next page, scroll down to the heading Your macports-users Subscription 
Options. Setting whether mail delivery is enabled or disabled is the first 
option.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Why can't I select the Mountain Lion Python 2.7?

2012-08-08 Thread Brandon Allbery
On Wed, Aug 8, 2012 at 7:40 PM, Clemens Lang c...@macports.org wrote:

 On Wed, Aug 08, 2012 at 07:09:16PM -0400, Brandon Allbery wrote:
  Homebrew was the most recent attempt by someone to pretend that
  avoiding the system-installed stuff is just being stupid or
  whatever. It, like everyone else, has switched to installing and
  managing its own ecosystem.

 They finally did?


Yes; it's taken them a while to realize that they really have to do it
across the board and not just ok, that part we have to maintain, but
surely *this* part will Just Work...! but they have finally figured out
that there are in fact reasons that everyone else does it that way and they
need to do so as well.  It's like a rite of passage.

-- 
brandon s allbery  allber...@gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users