def setup_path(self, real=False): print('*' * 50) print('PATH') print('*' * 50) for path in self.path: print(path) if real: cwutil.set_win32_all_user_env('PATH', ";".join(self.path))
def setup_path(self, real=False): print '*' * 50 print 'PATH' print '*' * 50 for path in self.path: print path if real: cwutil.set_win32_all_user_env('PATH', ";".join(self.path))
def setup_env(self, real=False): print('*' * 50) print('ENV') print('*' * 50) for e in self.env: print(e + ' = ' + self.env[e]) if real: for e in self.env: cwutil.set_win32_all_user_env(e, self.env[e])
def setup_env(self, real=False): print '*' * 50 print 'ENV' print '*' * 50 for e in self.env: print e + ' = ' + self.env[e] if real: for e in self.env: cwutil.set_win32_all_user_env(e, self.env[e])