commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/gnuef setup.py


From: Jason Cater
Subject: gnue/gnuef setup.py
Date: Sat, 23 Jun 2001 20:33:20 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    01/06/23 20:33:20

Modified files:
        gnuef          : setup.py 

Log message:
        Moved designer references from setup.py into designer's setup.py

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/setup.py.diff?cvsroot=OldCVS&tr1=1.22&tr2=1.23&r1=text&r2=text

Patches:
Index: gnue/gnuef/setup.py
diff -u gnue/gnuef/setup.py:1.22 gnue/gnuef/setup.py:1.23
--- gnue/gnuef/setup.py:1.22    Thu Jun  7 17:11:54 2001
+++ gnue/gnuef/setup.py Sat Jun 23 20:33:20 2001
@@ -45,33 +45,17 @@
      python %s/.cvsdevelbase/gnue/forms/GFClient.py $*
   """ % (pwd, pwd)
 
-  gfdes = """
-  if [ "z$GNUE_CONNECTIONS" = "z" ]
-  then
-    GNUE_CONNECTIONS=/usr/local/gnue/etc/connections.conf
-    export GNUE_CONNECTIONS
-  fi
-  if [ "z$INSTALL_PREFIX" = "z" ]
-  then 
-    INSTALL_PREFIX=/usr/local/gnue/
-    export INSTALL_PREFIX
-  fi 
-  PYTHONPATH=%s/.cvsdevelbase:$PYTHONPATH; export PYTHONPATH
-  python %s/.cvsdevelbase/gnue/forms/designer/GFDesigner.py $*
-  """  % (pwd, pwd)
-
   if os.path.isdir('.cvsdevelbase'):
     os.system ('rm -rf .cvsdevelbase')
 
-  os.makedirs('.cvsdevelbase/gnue/forms')
+  os.makedirs('.cvsdevelbase/gnue')
   os.system ("""
     cd .cvsdevelbase/gnue
     ln -s ../../src/__init__.py .
     ln -s ../../../gnue-common/gnue/common common
-    ln -s ../../../gnue-reports/src reports
-    cd forms
-    ln -s ../../../src/* .
+    ln -s ../../../reports/src reports
     ln -s ../../../designer/src designer
+    ln -s ../../src forms 
   """)
 
   print "Creating client/gfcvs"
@@ -80,18 +64,12 @@
   file.close
   os.system ('chmod 700 client/gfcvs')
   
-  print "Creating designer/gfdes"
-  file = open('designer/gfdes','w')
-  file.write(gfdes)
-  file.close
-  os.system('chmod 700 designer/gfdes')
-
-  if not os.path.islink('/usr/local/bin/gfcvs') or not 
os.path.islink('/usr/local/bin/gfdes'):
-    print "We will now create symlinks to client/gfcvs and designer/gfdes in 
/usr/local/bin"
+  if not os.path.islink('/usr/local/bin/gfcvs'):
+    print "We will now create symlinks to client/gfcvs in /usr/local/bin"
     print "You will be prompted for the root password on the machine to do 
this."
     raw_input ("Press Control-D to abort or any other key to continue")
 
-    string = 'su -c "ln -s `pwd`/client/gfcvs /usr/local/bin/gfcvs;ln -s 
`pwd`/designer/gfdes /usr/local/bin/gfdes"'
+    string = 'su -c "ln -s `pwd`/client/gfcvs /usr/local/bin/gfcvs"'
     os.system(string)
 
   sys.exit()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]