diff --git a/setup.py b/setup.py index 6b3cafe..eac264d 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) -execfile(os.path.join(here, 'rattail_tempmon', '_version.py')) +exec(open(os.path.join(here, 'rattail_tempmon', '_version.py')).read()) README = open(os.path.join(here, 'README.rst')).read()