diff options
author | Jarrod Millman <millman@berkeley.edu> | 2008-09-02 20:32:38 +0000 |
---|---|---|
committer | Jarrod Millman <millman@berkeley.edu> | 2008-09-02 20:32:38 +0000 |
commit | d29107a248130bbb68ecac58d6720d716529141c (patch) | |
tree | 9e1408025c80d63fe9fa6151343a7b265ec3f654 /tools/win32build | |
parent | a4a7966cf7191c28a7054127fd3717d6c760d556 (diff) | |
download | numpy-d29107a248130bbb68ecac58d6720d716529141c.tar.gz |
reindenting prior to release
Diffstat (limited to 'tools/win32build')
-rw-r--r-- | tools/win32build/build.py | 4 | ||||
-rw-r--r-- | tools/win32build/prepare_bootstrap.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/win32build/build.py b/tools/win32build/build.py index 29690fea4..63b62482b 100644 --- a/tools/win32build/build.py +++ b/tools/win32build/build.py @@ -80,7 +80,7 @@ def move_binary(arch, pyver): if not os.path.exists("binaries"): os.makedirs("binaries") - shutil.move(os.path.join('dist', get_windist_exec(pyver)), + shutil.move(os.path.join('dist', get_windist_exec(pyver)), os.path.join("binaries", get_binary_name(arch))) def get_numpy_version(): @@ -110,7 +110,7 @@ def get_windist_exec(pyver): if __name__ == '__main__': from optparse import OptionParser parser = OptionParser() - parser.add_option("-a", "--arch", dest="arch", + parser.add_option("-a", "--arch", dest="arch", help = "Architecture to build (sse2, sse3, nosse, etc...)") parser.add_option("-p", "--pyver", dest="pyver", help = "Python version (2.4, 2.5, etc...)") diff --git a/tools/win32build/prepare_bootstrap.py b/tools/win32build/prepare_bootstrap.py index 814ceeda4..73d1a4b61 100644 --- a/tools/win32build/prepare_bootstrap.py +++ b/tools/win32build/prepare_bootstrap.py @@ -79,7 +79,7 @@ def get_numpy_version(chdir = pjoin('..', '..')): version = subprocess.Popen(['python', '-c', 'import __builtin__; __builtin__.__NUMPY_SETUP__ = True; from numpy.version import version;print version'], stdout = subprocess.PIPE).communicate()[0] version = version.strip() if 'dev' in version: - out = subprocess.Popen(['svn', 'info'], stdout = subprocess.PIPE).communicate()[0] + out = subprocess.Popen(['svn', 'info'], stdout = subprocess.PIPE).communicate()[0] r = re.compile('Revision: ([0-9]+)') svnver = None for line in out.split('\n'): |