summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2006-10-30 11:29:34 +0100
committergbrandl <devnull@localhost>2006-10-30 11:29:34 +0100
commit02297b97d1d2aa9ef686e4e33446a87dcb47c856 (patch)
tree5de674ce3ad24c8d279e5bbdb8934b20355807f2
parent5555cc89b14f0d30438d04eb535ca8c61fa6bd8a (diff)
downloadpygments-02297b97d1d2aa9ef686e4e33446a87dcb47c856.tar.gz
[svn] Release preparation.
-rw-r--r--AUTHORS11
-rw-r--r--pygments/__init__.py4
-rw-r--r--pygments/lexers/dotnet.py2
-rw-r--r--pygments/styles/trac.py2
-rw-r--r--setup.cfg3
-rw-r--r--setup.py10
6 files changed, 22 insertions, 10 deletions
diff --git a/AUTHORS b/AUTHORS
index aa4085e3..66cd81b5 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,5 +1,6 @@
-Pygments is written and maintained by Georg Brandl <g.brandl@gmx.net>.
-
-Other major contributors are:
- - Armin Ronacher <armin.ronacher@active-4.com>
-
+Pygments is written and maintained by Georg Brandl <g.brandl@gmx.net>.
+
+Other contributors (as mentionend in :copyright:s) are:
+ - Armin Ronacher <armin.ronacher@active-4.com>
+ - Lukas Meuser <pocoo@quittenbrod.de>
+ - Matt Good <trac@matt-good.net> \ No newline at end of file
diff --git a/pygments/__init__.py b/pygments/__init__.py
index a27e8a06..43195e73 100644
--- a/pygments/__init__.py
+++ b/pygments/__init__.py
@@ -21,12 +21,14 @@
:license: GNU LGPL, see LICENSE for more details.
"""
-__version__ = '0.1'
+__version__ = '0.5'
__docformat__ = 'restructuredtext'
__license__ = 'GNU Lesser General Public License (LGPL)'
__author__ = 'Georg Brandl <g.brandl@gmx.net>'
__url__ = 'http://pygments.pocoo.org/'
+__all__ = ['lex', 'format', 'highlight']
+
import sys, os
# using StringIO because it can handle Unicode strings
diff --git a/pygments/lexers/dotnet.py b/pygments/lexers/dotnet.py
index bfc59233..2a032d56 100644
--- a/pygments/lexers/dotnet.py
+++ b/pygments/lexers/dotnet.py
@@ -5,7 +5,7 @@
.net languages
- :copyright: 2006 by Armin Ronacher.
+ :copyright: 2006 by Georg Brandl, Armin Ronacher.
:license: GNU LGPL, see LICENSE for more details.
"""
import re
diff --git a/pygments/styles/trac.py b/pygments/styles/trac.py
index bc676140..829b8501 100644
--- a/pygments/styles/trac.py
+++ b/pygments/styles/trac.py
@@ -5,7 +5,7 @@
Port of the default trac highlighter design.
- :copyright: 2006 by Armin Ronacher.
+ :copyright: 2006 by Edgewall, Armin Ronacher.
:license: GNU LGPL, see LICENSE for more details.
"""
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 00000000..0f5b8a48
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,3 @@
+[egg_info]
+tag_build = dev
+tag_svn_revision = true \ No newline at end of file
diff --git a/setup.py b/setup.py
index 130c40f6..b8fdbee6 100644
--- a/setup.py
+++ b/setup.py
@@ -5,12 +5,18 @@ from setuptools import setup, find_packages
import pygments
+# PY24: use .rsplit
+index = pygments.__author__.rindex(' ')
+author, email = pygments.__author__[:index], pygments.__author__[index+1:]
+email = email[1:-1]
+
setup(
name = 'Pygments',
version = pygments.__version__,
url = pygments.__url__,
license = pygments.__license__,
- author = pygments.__author__,
+ author = author,
+ author_email = email,
description = 'Pygments is a syntax highlighting package written in Python.',
long_description = pygments.__doc__,
keywords = 'syntax highlighting',
@@ -20,7 +26,7 @@ setup(
zip_safe = False,
include_package_data = True,
classifiers = [
- 'License :: OSI Approved :: GNU Lesser General Public License (LGPL)',
+ 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: System Administrators',