Skip to content

Commit 672d3a3

Browse files
committed
RM: setup.py - removed workaround stated to be needed only for elderly pythons
1 parent a95b384 commit 672d3a3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ def main():
1919
# Get version and release info, which is all stored in heudiconv/info.py
2020
info_file = op.join(thispath, 'heudiconv', 'info.py')
2121
with open(info_file) as infofile:
22-
# exec(infofile.read(), globals(), ldict)
23-
# Workaround for python 2.7 prior 2.7.8
24-
eval(compile(infofile.read(), '<string>', 'exec'), globals(), ldict)
22+
exec(infofile.read(), globals(), ldict)
2523

2624

2725
def findsome(subdir, extensions):

0 commit comments

Comments
 (0)