def setGlobalVars(self):
        """ Set Needed Global Vars """
        if search('x64', about(version=1)):
            self.PCSmVersion = float(about(version=1).split(' ')[0])
        else:
            self.PCSmVersion = float(about(version=1))
        melGlobals.initVar('float', 'PCSmVersion')
        melGlobals['PCSmVersion'] = self.PCSmVersion
        melGlobals.initVar('string', 'PCSmenuPath')
        melGlobals['PCSmenuPath'] = '%s/' % self.PCSmenuPath

        # Temp for prefs
        melGlobals.initVar('string', 'PCStoolName')
        melGlobals['PCStoolName'] = self.PCStoolName
        melGlobals.initVar('string', 'PCSos')
        melGlobals['PCSos'] = about(os=True)
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/core/sysGlobalMenu.py/MayaMenu.setGlobalVars/original