Replace occurrence of execfile()
This commit is contained in:
parent
4258d023a1
commit
05de771049
7
setup.py
7
setup.py
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue