Issue409430
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2001-03-17 18:04 by mwh, last changed 2022-04-10 16:03 by admin. This issue is now closed.
Files | ||||
---|---|---|---|---|
File name | Uploaded | Description | Edit | |
build-scripts.diff | mwh, 2001-12-07 13:08 | attempted fix |
Messages (13) | |||
---|---|---|---|
msg3933 - (view) | Author: Michael Hudson (mwh) | Date: 2001-03-17 18:04 | |
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. |
|||
msg3934 - (view) | Author: Tim Peters (tim.peters) * | Date: 2001-03-18 06:23 | |
Logged In: YES user_id=31435 Assigned to Andrew because I seem to recall he wrote the pydoc script. |
|||
msg3935 - (view) | Author: A.M. Kuchling (akuchling) * | Date: 2001-04-10 17:57 | |
Logged In: YES user_id=11375 The pydoc script is Ping's, really. Fixing this requires Distutils hackery, and I don't see that this is worth fixing. Leaving it to someone else to make the decision to close it, though. |
|||
msg3936 - (view) | Author: Guido van Rossum (gvanrossum) * | Date: 2001-04-10 19:11 | |
Logged In: YES user_id=6380 OK, ping-pong. Ping, do you have any bright ideas? |
|||
msg3937 - (view) | Author: Nobody/Anonymous (nobody) | Date: 2001-06-11 04:56 | |
Logged In: NO I am having similar problems with the win 2.1 ver it seems none of my saved .py files are recognised. Is this simply a case of not configed as an executable or a version clash? (solutions as well as opinions would be nice) I can however import string,sys and other modules if that muddies the water any. |
|||
msg3938 - (view) | Author: Michael Hudson (mwh) | Date: 2001-08-11 14:40 | |
Logged In: YES user_id=6656 Oops, not paying attention. Revision 1.9 of Lib/distutils/command/build_scripts.py seemed to be aimed at fixing this; however, I now have a ~/bin/pydoc that starts: #!python which isn't too helpful. This command either needs to do something different when building Python, or a different command needs to be used to install the pydoc script. Or you could wedge the install path into sys.executable in setup.py, I suppose. Assigned to Greg, as I don't think he's had this patch yet. Also bumped priority, as we now seem to be installing decidely broken scripts, and changed summary. |
|||
msg3939 - (view) | Author: Michael Hudson (mwh) | Date: 2001-12-07 13:08 | |
Logged In: YES user_id=6656 I finally got off my fat butt and had a go at fixing this. I've no idea who to assign this to to get it reviewed, I'm afraid. Someone have a look please! |
|||
msg3940 - (view) | Author: Guido van Rossum (gvanrossum) * | Date: 2001-12-07 13:48 | |
Logged In: YES user_id=6380 Fred, can you have a quick look at this and bounce it back to MWH with a yea or nay? |
|||
msg3941 - (view) | Author: Michael Hudson (mwh) | Date: 2001-12-07 13:54 | |
Logged In: YES user_id=6656 Please consider the obvious typo to be fixed; I've lost the "!" in the "#!", doh. |
|||
msg3942 - (view) | Author: Guido van Rossum (gvanrossum) * | Date: 2001-12-10 16:09 | |
Logged In: YES user_id=6380 Michael, this patch works for me (after fixing the typo). So consider it accepted, and please check it in! |
|||
msg3943 - (view) | Author: Michael Hudson (mwh) | Date: 2001-12-10 16:16 | |
Logged In: YES user_id=6656 Done, Lib/distutils/command/build_scripts.py 1.13. |
|||
msg3944 - (view) | Author: Guido van Rossum (gvanrossum) * | Date: 2001-12-10 16:20 | |
Logged In: YES user_id=6380 Thanks, Michael! Looks like you're *becoming* a distutils whiz... :-) |
|||
msg3945 - (view) | Author: Michael Hudson (mwh) | Date: 2001-12-10 16:27 | |
Logged In: YES user_id=6656 I was afraid of that <wink>. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-10 16:03:52 | admin | set | github: 34181 |
2001-03-17 18:04:37 | mwh | create |