Skip to content

Commit

Permalink
Don't use execfile in setupegg.py
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Oct 29, 2013
1 parent 91babb9 commit 3b4dba0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setupegg.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@

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

0 comments on commit 3b4dba0

Please sign in to comment.