+
+ # put info about the framework into wx-config
+ os.chdir(frameworkRootDir)
+ text = file('lib/wx/config/%s' % configname).read()
+ text = text.replace("MAC_FRAMEWORK=", "MAC_FRAMEWORK=%s" % getFrameworkName(options))
+ if options.mac_framework_prefix not in ['/Library/Frameworks',
+ '/System/Library/Frameworks']:
+ text = text.replace("MAC_FRAMEWORK_PREFIX=",
+ "MAC_FRAMEWORK_PREFIX=%s" % options.mac_framework_prefix)
+ file('lib/wx/config/%s' % configname, 'w').write(text)
+
+ # The framework is finished!