Commits

gbrandl  committed 35e4b23

[svn] Better author extraction in setup.py.

  • Participants
  • Parent commits 5b682b8
  • Branches trunk

Comments (0)

Files changed (1)

 
 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',