3 Oct 15:41
list all installed python modules with links to doc ?
From: denis <denisbz <at> t-online.de>
Subject: list all installed python modules with links to doc ?
Newsgroups: gmane.comp.file-systems.zero-install.devel
Date: 2008-10-03 13:42:20 GMT
Subject: list all installed python modules with links to doc ?
Newsgroups: gmane.comp.file-systems.zero-install.devel
Date: 2008-10-03 13:42:20 GMT
0install people,
a simple question not directly related to 0install
but which must be doable with 1 % of existing parts:
how can I list all python modules installed on my system, with links to doc etc.
along the lines of apt-cache dumpavail, like this:
module: yolk
egg: /opt/local/lib/python2.5/site-packages/yolk-0.4.1-py2.5.egg
version: 0.4.1
homepage: http://tools.assembla.com/yolk
src: $(srcbrowser yolk) ?
pydoc: $(pydoc yolk)
examples: ...
doc:
top few lines of __doc__
Am I missing an easy_install --list flag ?
(Actually, correct me, I don't see a database of installed python modules
like normal package managers at all ?)
"pydoc modules" can crash, apparently because import xx can
at least in 2.5.
And the pydoc approach is limited anyway: inline doc strings are far from
narrative with examples, no matter how nicely formatted
(my bias, I grew up on paper doc).
I like "yolk -l" and its links to pypi
but it sees only eggs, not .py files or dirs with __init__.py -- Rob ?
Today I'd be more than happy with text along the lines above;
tomorrow a generated html with 1-click links to src etc
would be a nice familiar gui.
Does this make sense, does it exist already ?
Thanks,
cheers
-- denis
If you want to sell it, you'll have to explain it
a simple question not directly related to 0install
but which must be doable with 1 % of existing parts:
how can I list all python modules installed on my system, with links to doc etc.
along the lines of apt-cache dumpavail, like this:
module: yolk
egg: /opt/local/lib/python2.5/site-packages/yolk-0.4.1-py2.5.egg
version: 0.4.1
homepage: http://tools.assembla.com/yolk
src: $(srcbrowser yolk) ?
pydoc: $(pydoc yolk)
examples: ...
doc:
top few lines of __doc__
Am I missing an easy_install --list flag ?
(Actually, correct me, I don't see a database of installed python modules
like normal package managers at all ?)
"pydoc modules" can crash, apparently because import xx can
at least in 2.5.
And the pydoc approach is limited anyway: inline doc strings are far from
narrative with examples, no matter how nicely formatted
(my bias, I grew up on paper doc).
I like "yolk -l" and its links to pypi
but it sees only eggs, not .py files or dirs with __init__.py -- Rob ?
Today I'd be more than happy with text along the lines above;
tomorrow a generated html with 1-click links to src etc
would be a nice familiar gui.
Does this make sense, does it exist already ?
Thanks,
cheers
-- denis
If you want to sell it, you'll have to explain it
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Zero-install-devel mailing list Zero-install-devel <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/zero-install-devel
RSS Feed