def run_command(self, options, args): if not args: self.parser.print_help() sys.exit(1) # installing python for arg in args: try: if is_macosx(): p = PythonInstallerMacOSX(arg, options) else: p = PythonInstaller(arg, options) p.install() except: continue
def run_command(self, options, args): if not args: self.parser.print_help() sys.exit(1) # installing python for arg in args: try: if is_macosx(): p = PythonInstallerMacOSX(arg, options) else: p = PythonInstaller(arg, options) p.install() except: continue
def run_command(self, options, args): if args: # Install pythons for arg in args: try: if is_macosx_snowleopard(): p = PythonInstallerMacOSX(arg, options) else: p = PythonInstaller(arg, options) p.install() except UnknownVersionException: continue except AlreadyInstalledException: continue except NotSupportedVersionException: continue else: logger.info("Unknown python version.")