From 260c5b140d3f0d2d0424f04e12c81a6ee1647573 Mon Sep 17 00:00:00 2001 From: gbrandl Date: Sat, 9 Jun 2007 16:04:52 +0200 Subject: [svn] Better author extraction in setup.py. --- setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index da572d5d..037f94bf 100644 --- a/setup.py +++ b/setup.py @@ -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', -- cgit v1.2.1