Speed up iteration through file
@@ -5,7 +5,7 @@ from setuptools import setup, find_packages
# Parse version number from pyglet/__init__.py:
with open('pyglet/__init__.py') as f:
info = {}
- for line in f.readlines():
+ for line in f:
if line.startswith('version'):
exec(line, info)
break
