diff options
author | gbrandl <devnull@localhost> | 2007-02-14 22:35:34 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2007-02-14 22:35:34 +0100 |
commit | 9f62a0c9eeac9da13b118d49b703d340d0cdcf96 (patch) | |
tree | 38d793b2b6969cbb88fccb5a87f677e6b0e6f16c /pygments/__init__.py | |
parent | 0413a637d393015cec3e8d28a5c3de63d8f4e8cf (diff) | |
download | pygments-9f62a0c9eeac9da13b118d49b703d340d0cdcf96.tar.gz |
[svn] Prepare for 0.8dev.
Diffstat (limited to 'pygments/__init__.py')
-rw-r--r-- | pygments/__init__.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/pygments/__init__.py b/pygments/__init__.py index 7ef71945..55eced1f 100644 --- a/pygments/__init__.py +++ b/pygments/__init__.py @@ -23,7 +23,7 @@ :license: BSD, see LICENSE for more details. """ -__version__ = '0.7' +__version__ = '0.8' __author__ = 'Georg Brandl <g.brandl@gmx.net>' __url__ = 'http://pygments.org/' __license__ = 'BSD License' @@ -88,15 +88,6 @@ def highlight(code, lexer, formatter, outfile=None): return format(lex(code, lexer), formatter, outfile) -def cmdline_main(args): - """ - Make pygments usable as a command line utility. - TODO: To be removed in Pygments 0.8. - """ - from pygments.cmdline import main - return main(args) - - if __name__ == '__main__': from pygments.cmdline import main sys.exit(main(sys.argv)) |