/[gnue]/gnue-designer/scripts/gnue-designer
ViewVC logotype

Diff of /gnue-designer/scripts/gnue-designer

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by reinhard, Sun Oct 5 09:34:56 2003 UTC revision 1.2 by btami, Sun Oct 5 18:05:05 2003 UTC
# Line 23  Line 23 
23  #  #
24  # $Id$  # $Id$
25    
 import os  
 import sys  
   
 if sys.platform == "win32":  
   if __name__ == "__main__":  
     _BASE = os.path.abspath (os.path.join (os.path.dirname (sys.argv[0]), ".."))  
     _newpath = os.path.abspath (os.path.dirname (sys.argv[0]))  
     if os.environ.has_key ("PATH"):  
       _newpath = _newpath + ";" + os.environ ["PATH"]  
     os.environ ["PATH"] = _newpath  
   else:  
     _BASE = os.path.abspath (os.path.join (os.path.dirname (__file__), ".."))  
   os.putenv ("PYTHONCASEOK","1")  
   if os.path.isdir (os.path.join (_BASE, "extras")):  
     sys.path.append (os.path.join (_BASE, "extras"))  
   
26  from gnue.designer import Designer  from gnue.designer import Designer
27    
28  if __name__ == '__main__':  if __name__ == '__main__':

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26