Skip to content

Commit 3b4dba0

Browse files
committed
Don't use execfile in setupegg.py
1 parent 91babb9 commit 3b4dba0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setupegg.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33

44
# Import setuptools and call the actual setup
55
import setuptools
6-
execfile('setup.py')
6+
with open('setup.py', 'rb') as f:
7+
exec(compile(f.read(), 'setup.py', 'exec'))

0 commit comments

Comments
 (0)