FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix a number of typos in strings and comments (sf#1589070) · charleson/python@54050dd · GitHub

forked from glix/python

Commit 54050dd

Browse files
ronald.oussoren
committed
Fix a number of typos in strings and comments (sf#1589070)
git-svn-id: http://svn.python.org/projects/python/trunk@52644 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 7e8be15 commit 54050dd

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

‎Mac/BuildScript/build-installer.py‎

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def writePlist(plist, path):
3333

3434
def shellQuote(value):
3535
"""
36-
Return the string value in a form that can savely be inserted into
36+
Return the string value in a form that can safely be inserted into
3737
a shell command.
3838
"""
3939
return "'%s'"%(value.replace("'", "'\"'\"'"))
@@ -56,10 +56,10 @@ def getFullVersion():
5656

5757
raise RuntimeError, "Cannot find full version??"
5858

59-
# The directory we'll use to create the build, will be erased and recreated
59+
# The directory we'll use to create the build (will be erased and recreated)
6060
WORKDIR="/tmp/_py"
6161

62-
# The directory we'll use to store third-party sources, set this to something
62+
# The directory we'll use to store third-party sources. Set this to something
6363
# else if you don't want to re-fetch required libraries every time.
6464
DEPSRC=os.path.join(WORKDIR, 'third-party')
6565
DEPSRC=os.path.expanduser('~/Universal/other-sources')
@@ -201,7 +201,7 @@ def getFullVersion():
201201
long_name="GUI Applications",
202202
source="/Applications/MacPython %(VER)s",
203203
readme="""\
204-
This package installs IDLE (an interactive Python IDLE),
204+
This package installs IDLE (an interactive Python IDE),
205205
Python Launcher and Build Applet (create application bundles
206206
from python scripts).
207207
@@ -257,8 +257,7 @@ def getFullVersion():
257257
readme="""\
258258
This package updates the system python installation on
259259
Mac OS X 10.3 to ensure that you can build new python extensions
260-
using that copy of python after installing this version of
261-
python.
260+
using that copy of python after installing this version.
262261
""",
263262
postflight="../Tools/fixapplepython23.py",
264263
topdir="/Library/Frameworks/Python.framework",
@@ -637,15 +636,15 @@ def buildPython():
637636
print "Running make"
638637
runCommand("make")
639638

640-
print "Runing make frameworkinstall"
639+
print "Running make frameworkinstall"
641640
runCommand("make frameworkinstall DESTDIR=%s"%(
642641
shellQuote(rootDir)))
643642

644-
print "Runing make frameworkinstallextras"
643+
print "Running make frameworkinstallextras"
645644
runCommand("make frameworkinstallextras DESTDIR=%s"%(
646645
shellQuote(rootDir)))
647646

648-
print "Copy required shared libraries"
647+
print "Copying required shared libraries"
649648
if os.path.exists(os.path.join(WORKDIR, 'libraries', 'Library')):
650649
runCommand("mv %s/* %s"%(
651650
shellQuote(os.path.join(
@@ -735,8 +734,8 @@ def patchScript(inPath, outPath):
735734
def packageFromRecipe(targetDir, recipe):
736735
curdir = os.getcwd()
737736
try:
738-
# The major version (such as 2.5) is included in the pacakge name
739-
# because haveing two version of python installed at the same time is
737+
# The major version (such as 2.5) is included in the package name
738+
# because having two version of python installed at the same time is
740739
# common.
741740
pkgname = '%s-%s'%(recipe['name'], getVersion())
742741
srcdir = recipe.get('source')
@@ -910,7 +909,7 @@ def installSize(clear=False, _saved=[]):
910909

911910
def buildDMG():
912911
"""
913-
Create DMG containing the rootDir
912+
Create DMG containing the rootDir.
914913
"""
915914
outdir = os.path.join(WORKDIR, 'diskimage')
916915
if os.path.exists(outdir):
@@ -923,7 +922,7 @@ def buildDMG():
923922
imagepath = imagepath + '.dmg'
924923

925924
os.mkdir(outdir)
926-
runCommand("hdiutil create -volname 'Univeral MacPython %s' -srcfolder %s %s"%(
925+
runCommand("hdiutil create -volname 'Universal MacPython %s' -srcfolder %s %s"%(
927926
getFullVersion(),
928927
shellQuote(os.path.join(WORKDIR, 'installer')),
929928
shellQuote(imagepath)))

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL