parameters: (self)
docstring: Initializae misc variables.
          Among them: is_64_bit_platform
docstring_summary: Initializae misc variables.
          Among them: is_64_bit_platform
docstring_tokens: Initializae misc variables . Among them : is_64_bit_platform
function: def init_vars(self):
          """
          Initializae misc variables.
          Among them: is_64_bit_platform
          """
          self.inst_proj_path = 'Platform\\Win32\\Install\\%s\\'%self.redist_internal_name
          self.is_64_bit_platform = is_64_bit_platform()
          self.DateTimeSTR = strftime("%Y-%m-%d %H:%M:%S")
          DateSTR = strftime("%Y-%m-%d")
          CONFIG_XML = parse(self.config_xml_filename)
          self.WORK_DIR = str(CONFIG_XML.getElementsByTagName("WORK_DIR")[0].firstChild.data)
          # Fix to allow reletive path
          os.chdir(self.WORK_DIR)
          self.WORK_DIR = os.getcwd() + "\\"
          os.chdir(self.SCRIPT_DIR)
          self.VER = str(CONFIG_XML.getElementsByTagName("VERSION_NUMBER")[0].firstChild.data)
          PLATFORM = str(CONFIG_XML.getElementsByTagName("PLATFORM")[0].firstChild.data)
          self.PROJECT_SLN = str(CONFIG_XML.getElementsByTagName("PROJECT_SLN")[0].firstChild.data)
          self.SAMPLES_SLN = str(CONFIG_XML.getElementsByTagName("SAMPLES_SLN")[0].firstChild.data)
          self.PROJECT_NAME = str(CONFIG_XML.getElementsByTagName("PROJECT")[0].firstChild.data)
          self.BUILD_DIR = os.path.join(self.WORK_DIR, "Platform", "Win32", "Build")
  
          ver_regx = re.compile("SDK \d.*\s")
          global samples_proj_list
          global samples_guid_list
          global samples_guid_list_net
          samples_proj_list = []
          samples_guid_list = []
          samples_guid_list_net = []
  
          if self.vc_build_bits=="32":
              self.bin_dir = "Bin"
              self.lib_dir = "Lib"
              self.vc_build_platform = "Win32"
              self.output_dir = "Output32"
              self.final_dir = "Final32"
          else:
              self.bin_dir = "Bin64"
              self.lib_dir = "Lib64"
              self.vc_build_platform = "x64"
              self.output_dir = "Output64"
              self.final_dir = "Final64"
function_tokens: def init_vars ( self ) : self . inst_proj_path = 'Platform\\Win32\\Install\\%s\\' % self . redist_internal_name self . is_64_bit_platform = is_64_bit_platform ( ) self . DateTimeSTR = strftime ( "%Y-%m-%d %H:%M:%S" ) DateSTR = strftime ( "%Y-%m-%d" ) CONFIG_XML = parse ( self . config_xml_filename ) self . WORK_DIR = str ( CONFIG_XML . getElementsByTagName ( "WORK_DIR" ) [ 0 ] . firstChild . data ) # Fix to allow reletive path os . chdir ( self . WORK_DIR ) self . WORK_DIR = os . getcwd ( ) + "\\" os . chdir ( self . SCRIPT_DIR ) self . VER = str ( CONFIG_XML . getElementsByTagName ( "VERSION_NUMBER" ) [ 0 ] . firstChild . data ) PLATFORM = str ( CONFIG_XML . getElementsByTagName ( "PLATFORM" ) [ 0 ] . firstChild . data ) self . PROJECT_SLN = str ( CONFIG_XML . getElementsByTagName ( "PROJECT_SLN" ) [ 0 ] . firstChild . data ) self . SAMPLES_SLN = str ( CONFIG_XML . getElementsByTagName ( "SAMPLES_SLN" ) [ 0 ] . firstChild . data ) self . PROJECT_NAME = str ( CONFIG_XML . getElementsByTagName ( "PROJECT" ) [ 0 ] . firstChild . data ) self . BUILD_DIR = os . path . join ( self . WORK_DIR , "Platform" , "Win32" , "Build" ) ver_regx = re . compile ( "SDK \d.*\s" ) global samples_proj_list global samples_guid_list global samples_guid_list_net samples_proj_list = [ ] samples_guid_list = [ ] samples_guid_list_net = [ ] if self . vc_build_bits == "32" : self . bin_dir = "Bin" self . lib_dir = "Lib" self . vc_build_platform = "Win32" self . output_dir = "Output32" self . final_dir = "Final32" else : self . bin_dir = "Bin64" self . lib_dir = "Lib64" self . vc_build_platform = "x64" self . output_dir = "Output64" self . final_dir = "Final64"