Skip to content

Commit e7716b3

Browse files
author
Clark Perkins
committed
Fix for python3
1 parent c0089b1 commit e7716b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ def test_python_version():
3333

3434
# Set version
3535
__version__ = '0.0.0' # Explicit default
36-
execfile('stackdio/client/version.py')
36+
with open('stackdio/client/version.py') as f:
37+
exec(f.read())
3738

3839

3940
SHORT_DESCRIPTION = ('A cloud deployment, automation, and orchestration '

0 commit comments

Comments
 (0)