import subprocess
import os

PYVER = "2.5"

# Bootstrap
subprocess.check_call(['python', 'prepare_bootstrap.py'])

# Build binaries
subprocess.check_call(['python', 'build.py', '-p', PYVER], cwd = 'bootstrap-%s' % PYVER)

# Build installer using nsis
subprocess.check_call(['makensis', 'numpy-superinstaller.nsi'], cwd = 'bootstrap-%s' % PYVER)

import subprocess
import os

PYVER = "2.5"

# Bootstrap
subprocess.check_call(['python', 'prepare_bootstrap.py', '-p', PYVER])

# Build binaries
subprocess.check_call(['python', 'build.py', '-p', PYVER], cwd = 'bootstrap-%s' % PYVER)

# Build installer using nsis
subprocess.check_call(['makensis', 'numpy-superinstaller.nsi'], cwd = 'bootstrap-%s' % PYVER)

Handle python version in prepare_bootstrap script.
Handle python version in prepare_bootstrap script.

  import subprocess
  import os
  
  PYVER = "2.5"
  
  # Bootstrap
- subprocess.check_call(['python', 'prepare_bootstrap.py'])
+ subprocess.check_call(['python', 'prepare_bootstrap.py', '-p', PYVER])
  
  # Build binaries
  subprocess.check_call(['python', 'build.py', '-p', PYVER], cwd = 'bootstrap-%s' % PYVER)
  
  # Build installer using nsis
  subprocess.check_call(['makensis', 'numpy-superinstaller.nsi'], cwd = 'bootstrap-%s' % PYVER)
  
Handle python version in prepare_bootstrap script.
## Code Before:
import subprocess
import os

PYVER = "2.5"

# Bootstrap
subprocess.check_call(['python', 'prepare_bootstrap.py'])

# Build binaries
subprocess.check_call(['python', 'build.py', '-p', PYVER], cwd = 'bootstrap-%s' % PYVER)

# Build installer using nsis
subprocess.check_call(['makensis', 'numpy-superinstaller.nsi'], cwd = 'bootstrap-%s' % PYVER)

## Instruction:
Handle python version in prepare_bootstrap script.
## Code After:
import subprocess
import os

PYVER = "2.5"

# Bootstrap
subprocess.check_call(['python', 'prepare_bootstrap.py', '-p', PYVER])

# Build binaries
subprocess.check_call(['python', 'build.py', '-p', PYVER], cwd = 'bootstrap-%s' % PYVER)

# Build installer using nsis
subprocess.check_call(['makensis', 'numpy-superinstaller.nsi'], cwd = 'bootstrap-%s' % PYVER)
