[Python-bugs-list] [ python-Bugs-409430 ] pydoc shouldn't use #!/usr/bin/env

noreply@sourceforge.net noreply@sourceforge.net
Sat, 17 Mar 2001 10:04:38 -0800


Bugs item #409430, was updated on 2001-03-17 10:04
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=409430&group_id=5470

Category: Installation
Group: None
Status: Open
Priority: 5
Submitted By: Michael Hudson (mwh)
Assigned to: Nobody/Anonymous (nobody)
Summary: pydoc shouldn't use #!/usr/bin/env

Initial Comment:
I've moaned about this on python-dev but I want to make
sure it doesn't get forgotten.

I've just built from CVS, installed in /usr/local, and:

$ pydoc -g
Traceback (most recent call last):
  File "/usr/local/bin/pydoc", line 3, in ?
    import pydoc
ImportError: No module named pydoc

because the /usr/bin/env python thing hits the older
python in /usr first.

Don't really know how best to implement this, not being
a distutils whiz.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=409430&group_id=5470