Replace occurrence of execfile()
This commit is contained in:
parent
2acc49be40
commit
ea921cf58b
2
setup.py
2
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()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue