summaryrefslogtreecommitdiff
path: root/tools/osxbuild
diff options
context:
space:
mode:
authorJarrod Millman <millman@berkeley.edu>2008-09-02 20:32:38 +0000
committerJarrod Millman <millman@berkeley.edu>2008-09-02 20:32:38 +0000
commitd29107a248130bbb68ecac58d6720d716529141c (patch)
tree9e1408025c80d63fe9fa6151343a7b265ec3f654 /tools/osxbuild
parenta4a7966cf7191c28a7054127fd3717d6c760d556 (diff)
downloadnumpy-d29107a248130bbb68ecac58d6720d716529141c.tar.gz
reindenting prior to release
Diffstat (limited to 'tools/osxbuild')
-rw-r--r--tools/osxbuild/build.py8
-rw-r--r--tools/osxbuild/install_and_test.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/tools/osxbuild/build.py b/tools/osxbuild/build.py
index d0e8ecfa1..4c9b8f64c 100644
--- a/tools/osxbuild/build.py
+++ b/tools/osxbuild/build.py
@@ -36,7 +36,7 @@ def remove_dirs():
cmd = 'sudo chown -R %s %s' % (getuser(), DIST_DIR)
shellcmd(cmd)
shutil.rmtree(DIST_DIR)
-
+
def build_dist():
print 'Building distribution... (using sudo)'
cmd = 'sudo python setupegg.py bdist_mpkg'
@@ -67,7 +67,7 @@ def revert_readme():
print 'Reverting README.txt...'
cmd = 'svn revert %s' % DEV_README
shellcmd(cmd)
-
+
def shellcmd(cmd, verbose=True):
"""Call a shell command."""
if verbose:
@@ -80,7 +80,7 @@ def shellcmd(cmd, verbose=True):
%s
""" % str(err)
raise Exception(msg)
-
+
def build():
# update end-user documentation
copy_readme()
@@ -99,6 +99,6 @@ def build():
os.chdir(cwd)
# restore developer documentation
revert_readme()
-
+
if __name__ == '__main__':
build()
diff --git a/tools/osxbuild/install_and_test.py b/tools/osxbuild/install_and_test.py
index f03e5bd7c..346b45adb 100644
--- a/tools/osxbuild/install_and_test.py
+++ b/tools/osxbuild/install_and_test.py
@@ -14,7 +14,7 @@ def color_print(msg):
"""Add color to this print output."""
clrmsg = clrgreen + msg + clrnull
print clrmsg
-
+
distdir = os.path.join(SRC_DIR, DIST_DIR)
# Find the package and build abspath to it