diff --git a/setup.py b/setup.py index 88987f9..3e0cbed 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,8 @@ from os.path import join, dirname, abspath CURDIR = dirname(abspath(__file__)) -execfile(join(CURDIR, 'src', 'Rammbock', 'version.py')) +filename=join(CURDIR, 'src', 'Rammbock', 'version.py') +exec(compile(open(filename, "rb").read(), filename, 'exec')) setup(name = 'robotframework-rammbock', version = VERSION,