Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 59903
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Salim Fadhley <sal@stodge.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pydoc /etc/conf.d/pydoc text/plain Saleem Abdulrasool (RETIRED) 2004-08-09 16:12 0000 234 bytes Details
pydoc /etc/init.d/pydoc text/plain Saleem Abdulrasool (RETIRED) 2004-08-09 16:14 0000 633 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 59903 depends on: Show dependency tree
Bug 59903 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-09 14:58 0000
Pydoc is a documentation tool for python, which amongst other things can act as
a web-server and allow users to discover what modules are installed. Pydoc can
be invoked like this:

$ pydoc -p 1234
means: start pydoc and run a webserver on port 1234.

Wouldnt it be cool if this could be started as a service from /etc/init.d, with
a conf.d file to tell the system what port to run pydoc on. If your main
business is python programming then pydoc would be there for you allways.

I think Gentoo is already by far the best distro for python developers (and
users of Py apps like Zope), but this would be an added convenience.

------- Comment #1 From Saleem Abdulrasool (RETIRED) 2004-08-09 16:12:45 0000 -------
Created an attachment (id=37127) [details]
/etc/conf.d/pydoc

------- Comment #2 From Saleem Abdulrasool (RETIRED) 2004-08-09 16:14:34 0000 -------
Created an attachment (id=37128) [details]
/etc/init.d/pydoc

Put the files in the appropriate places (see the name), and chmod +x
/etc/init.d/pydoc   You should be able to then just rc-update add pydoc default
to  automatically launch the pydoc server.  You *MUST* have the
/etc/conf.d/pydoc file as well as that stores the port for the server.

------- Comment #3 From Alastair Tse (RETIRED) 2005-04-20 10:17:23 0000 -------
could be a good thing, but rather low on my list of priorities since if you
have python, you probably have pydoc on your console anyway.

------- Comment #4 From Dirkjan Ochtman 2006-06-15 08:30:29 0000 -------
I have done this for my own machine as well. Would be nice to have.

------- Comment #5 From Tiziano Müller 2008-03-01 13:40:03 0000 -------
Added for the latest revisions of python-2.{4,5} without revision bump (since
we have to do such in the next couple of weeks anyway).
Thanks.

------- Comment #6 From Carsten Milkau 2008-03-11 11:55:01 0000 -------
this has been incorporated into python 2.4 and 2.5 ebuilds, however now
slotting is broken, as it is part of both slots. I don't know how to fix this.
I need multiple versions of python installed for development pursoses though.
Please help!

------- Comment #7 From Tiziano Müller 2008-03-11 14:25:23 0000 -------
sorry, that was my fault. Should be fixed now, the pydoc init.d/conf.d scripts
will get installed as pydoc-2.4, resp. pydoc-2.5.

Please wait a couple of hours, resync and re-emerge python-2.4 and python-2.5.
Sorry for the inconvenience.

------- Comment #8 From Carsten Milkau 2008-03-11 16:02:43 0000 -------
Oh! That was quick, thank you!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug