Example #1
0
 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))
Example #2
0
 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))
Example #3
0
 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])
Example #4
0
 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])