Commits

agronholm  committed ead46b0

Fix py3k compatibility issue and two typos

  • Participants
  • Parent commits 59e6f44

Comments (0)

Files changed (1)

 from distutils.util import convert_path
 
 d = {}
-execfile(convert_path('setuptools/command/__init__.py'), d)
+init_path = convert_path('setuptools/command/__init__.py')
+exec(open(init_path).read(), d)
 
 SETUP_COMMANDS = d['__all__']
 VERSION = "0.6"
 # if we are installing Distribute using "python setup.py install"
 # we need to get setuptools out of the way
 if 'install' in sys.argv[1:]:
-    from bootstraping import before_install
+    from bootstrapping import before_install
     before_install()
 
 dist = setup(
     scripts = scripts,
 )
 if 'install' in sys.argv[1:]:
-    from bootstraping import after_install
+    from bootstrapping import after_install
     after_install(dist)