Hello!
I try to "register" the rst-directive for the use with docutils.
Therefore I copied the rst-directive.py into docutils/parsers/rst/directives/.
I added the 'sourcecode':('rst-directive', 'pygments_directive')} to
the _directive_registry in the __init__.py File.
Executing the rst2html file works, but there is this message:
/usr/lib/python2.5/site-packages/Pygments-0.9-py2.5.egg/pygments/plugin.py:39:
UserWarning: Module docutils was already imported from
/usr/lib/python2.5/site-packages/docutils/__init__.py,
but /usr/lib/python2.5/site-packages is being added to sys.path
import pkg_resources
Do I need to change something?
Thank you very much for your help!
Philipp
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---