aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoragronholm <none@none>2009-08-06 18:27:50 +0300
committeragronholm <none@none>2009-08-06 18:27:50 +0300
commit9fc8f75bc04283b8a724e5245703fe62bdde6528 (patch)
tree0d843635400d1094c3d77bec0b277ff67dd06dc1
parentf6cad3a2bfeb4238da359c882fe7cbbaedb5d8b7 (diff)
downloadexternal_python_setuptools-9fc8f75bc04283b8a724e5245703fe62bdde6528.tar.gz
external_python_setuptools-9fc8f75bc04283b8a724e5245703fe62bdde6528.tar.bz2
external_python_setuptools-9fc8f75bc04283b8a724e5245703fe62bdde6528.zip
Fix py3k compatibility issue and two typos
--HG-- branch : distribute extra : rebase_source : d53588531098e31e910e64063c0d1b927fa33b11
-rwxr-xr-xsetup.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 6d6d79b4..75aa094e 100755
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,8 @@
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"
@@ -16,7 +17,7 @@ scripts = []
# 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(
@@ -100,7 +101,7 @@ dist = setup(
scripts = scripts,
)
if 'install' in sys.argv[1:]:
- from bootstraping import after_install
+ from bootstrapping import after_install
after_install(dist)