Replace occurrence of execfile()
This commit is contained in:
parent
b9021afd96
commit
fe19b5ae65
2
setup.py
2
setup.py
|
@ -10,7 +10,7 @@ from setuptools import setup, find_packages
|
|||
|
||||
|
||||
here = os.path.abspath(os.path.dirname(__file__))
|
||||
execfile(os.path.join(here, 'rattail_demo', '_version.py'))
|
||||
exec(open(os.path.join(here, 'rattail_demo', '_version.py')).read())
|
||||
README = open(os.path.join(here, 'README.rst')).read()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue