Commit 0497f929 authored by tarek's avatar tarek

bootstraping.py -> bootstrapping.py

--HG--
branch : distribute
extra : rebase_source : b54a39a7e7f17f3275d62d29da37de0776fb7ee3
parent ec0118e5
......@@ -40,20 +40,20 @@ are available at the PyPI page and here :
http://bitbucket.org/tarek/distribute/downloads.
It can be installed using easy_install or pip, with the source tarball, with the
eggs distribution, or using the ``bootstraping.py`` script provided online.
eggs distribution, or using the ``bootstrapping.py`` script provided online.
``bootstraping.py`` is the simplest and preferred way on all systems.
``bootstrapping.py`` is the simplest and preferred way on all systems.
bootstraping.py
===============
bootstrapping.py
================
Download ``bootstraping.py`` and execute it, using the Python interpreter of
Download ``bootstrapping.py`` and execute it, using the Python interpreter of
your choice.
If your shell has the `wget` programm you can do::
$ wget http://bitbucket.org/tarek/distribute/downloads/bootstraping.py
$ python bootstraping.py
$ wget http://bitbucket.org/tarek/distribute/downloads/bootstrapping.py
$ python bootstrapping.py
easy_install or pip
===================
......@@ -117,7 +117,7 @@ Windows
-------
Don't install Distribute trying to execute the egg, because it's aimed to
sh-based shells. Instead, use the ``bootstraping.py`` method, that will
sh-based shells. Instead, use the ``bootstrapping.py`` method, that will
download the egg for you, then install the egg.
---------------------------
......
......@@ -2,8 +2,8 @@ import urllib2
import sys
import os
if os.path.exists('bootstraping.py'):
print 'bootstraping.py exists in the current dir, aborting'
if os.path.exists('bootstrapping.py'):
print 'bootstrapping.py exists in the current dir, aborting'
sys.exit(2)
print '**** Starting Test'
......@@ -14,13 +14,13 @@ if is_jython:
import subprocess
print 'Downloading bootstrap'
file = urllib2.urlopen('http://nightly.ziade.org/bootstraping.py')
f = open('bootstraping.py', 'w')
file = urllib2.urlopen('http://nightly.ziade.org/bootstrapping.py')
f = open('bootstrapping.py', 'w')
f.write(file.read())
f.close()
# running it
args = [sys.executable] + ['bootstraping.py']
args = [sys.executable] + ['bootstrapping.py']
if is_jython:
res = subprocess.call(args)
else:
......@@ -28,7 +28,7 @@ else:
if res != 0:
print '**** Test failed, please send me the output at tarek@ziade.org'
os.remove('bootstraping.py')
os.remove('bootstrapping.py')
sys.exit(2)
# now checking if Distribute is installed
......@@ -71,5 +71,5 @@ try:
finally:
if os.path.exists(script_name):
os.remove(script_name)
os.remove('bootstraping.py')
os.remove('bootstrapping.py')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment