Replace occurrence of execfile()

This commit is contained in:
Lance Edgar 2017-07-06 16:28:07 -05:00
parent 4258d023a1
commit 05de771049

View file

@ -1,9 +1,8 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# -*- coding: utf-8; -*-
################################################################################
#
# Rattail -- Retail Software Framework
# Copyright © 2010-2012 Lance Edgar
# Copyright © 2010-2017 Lance Edgar
#
# This file is part of Rattail.
#
@ -28,7 +27,7 @@ from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
execfile(os.path.join(here, 'rattail_cognitive', '_version.py'))
exec(open(os.path.join(here, 'rattail_cognitive', '_version.py')).read())
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()