diff options
author | gbrandl <devnull@localhost> | 2007-06-09 16:04:52 +0200 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2007-06-09 16:04:52 +0200 |
commit | 260c5b140d3f0d2d0424f04e12c81a6ee1647573 (patch) | |
tree | a50d7bb3125ae4c85b033b015b8dd83588c22b59 /setup.py | |
parent | 2d7c675cae94a51f19c44cff1a4b58bbe1693839 (diff) | |
download | pygments-260c5b140d3f0d2d0424f04e12c81a6ee1647573.tar.gz |
[svn] Better author extraction in setup.py.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -6,10 +6,7 @@ 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] +author, email = pygments.__author__[:-1].split(' <') setup( name = 'Pygments', |