sbsv2/raptor/util/install-windows/raptorinstallermaker.py
branchwip
changeset 142 26f2f0b4002b
parent 79 540de0f551cf
child 143 a00bdef52597
equal deleted inserted replaced
137:befd82d9c937 142:26f2f0b4002b
     1 #
     1 #
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 # Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 # All rights reserved.
     3 # All rights reserved.
     4 # This component and the accompanying materials are made available
     4 # This component and the accompanying materials are made available
     5 # under the terms of the License "Eclipse Public License v1.0"
     5 # under the terms of the License "Eclipse Public License v1.0"
     6 # which accompanies this distribution, and is available
     6 # which accompanies this distribution, and is available
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
    44 if options.win32support == None:
    44 if options.win32support == None:
    45 	print "ERROR: no win32support directory specified. Unable to proceed. Exiting..."
    45 	print "ERROR: no win32support directory specified. Unable to proceed. Exiting..."
    46 	sys.exit(2)
    46 	sys.exit(2)
    47 else:
    47 else:
    48 	# Required irectories inside the win32-support repository
    48 	# Required irectories inside the win32-support repository
    49 	win32supportdirs = ["bv", "cygwin", "mingw", "python252"]
    49 	win32supportdirs = ["bv", "cygwin", "mingw", "python264"]
    50 	for dir in win32supportdirs:
    50 	for dir in win32supportdirs:
    51 		if not os.path.isdir(os.path.join(options.win32support, dir)):
    51 		if not os.path.isdir(os.path.join(options.win32support, dir)):
    52 			print "ERROR: directory %s does not exist. Cannot build installer. Exiting..."
    52 			print "ERROR: directory %s does not exist. Cannot build installer. Exiting..."
    53 			sys.exit(2)
    53 			sys.exit(2)
    54 
    54