diff --git a/setupegg.py b/setupegg.py index d9c31b9..7b4b568 100755 --- a/setupegg.py +++ b/setupegg.py @@ -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'))