diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-11 14:15:27 -0500 | 
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-11 14:15:27 -0500 | 
| commit | b85a292ce06475d560bfa1195b63a8bfe211f22d (patch) | |
| tree | 463d71be55ff807513139f1de106aef6bdd7b4db /lib/tqwtplot3d/scripts/fixvc7.py | |
| parent | ce039289815e2802fdeca8d384126c807ca9cb58 (diff) | |
| download | ulab-b85a292ce06475d560bfa1195b63a8bfe211f22d.tar.gz ulab-b85a292ce06475d560bfa1195b63a8bfe211f22d.zip | |
Add 0.2.7 release of qwtplot3d for future TQt3 conversion and use
Diffstat (limited to 'lib/tqwtplot3d/scripts/fixvc7.py')
| -rw-r--r-- | lib/tqwtplot3d/scripts/fixvc7.py | 16 | 
1 files changed, 16 insertions, 0 deletions
| diff --git a/lib/tqwtplot3d/scripts/fixvc7.py b/lib/tqwtplot3d/scripts/fixvc7.py new file mode 100644 index 0000000..968337a --- /dev/null +++ b/lib/tqwtplot3d/scripts/fixvc7.py @@ -0,0 +1,16 @@ +sourcedir = 'V:\\\\cvs\\qwtplot3d\\'
 +stext=""$(QTDIR)"\\bin\\"
 +rtext="$(QTDIR)\\bin\\"
 +
 +import os, string, sys
 +from os.path import join, getsize
 +for root, dirs, files in os.walk(sourcedir):
 +    for name in files:
 +        if '.vcproj' in name:
 +            f = file(join(root,name),'r')
 +            s = f.read()
 +            f.close()
 +            ss = string.replace(s,stext,rtext)
 +            f = file(join(root,name),'w+')
 +            f.write(ss);
 +            f.close();
 | 
