Re: [viewvc-dev] GNU Enscript and ViewVC 1.1...or Pygments

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Organization CollabNet, Inc.
Message-ID <48372C32.1040901__45607.9021947973$1211575485$gmane$org@collab.net>
Sandy Pérez González wrote:
> Dear,
> 
>> Interestingly, your integration to Pygments uses the 'pygmentize'
>> command-line program.  Surely there is a way to simply import the necessary
>> bits of the Pygments library and go all-Python here, right?
> 
> Yes, pygments is usable as a command-line tool and as a library. But,
> I used the command-line tool because I am not a python developer.
> Indeed, this is the first thing I wrote using python. Really, process
> was easy: copy&paste and make some little modifications to the
> existing code :-)

I spent an hour or so and banged a Pygments integration into ViewVC using 
direct access to the pygments Python modules (already committed to ViewVC's 
trunk).  I'm really happy with this library and its license!  Thanks for 
drawing my attention to it.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFINywyokEGqRcG/W4RAn7/AKCpTogR17Poga3mQbYMZUzdYTdAMACeMXoY
RIpxdbB5Wvi8mph0Yq11Mmw=
=G8DR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.