From ea921cf58bf819abb67eb1780f508924d4c2c532 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 6 Jul 2017 16:24:14 -0500 Subject: [PATCH] Replace occurrence of `execfile()` --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()