3
__version__ = "$Revision: 1.4 $"
4
__date__ = "$Date: 2003/01/10 08:02:16 $"
3
__version__ = "$Revision: 1.6 $"
4
__date__ = "$Date: 2004/04/08 21:07:35 $"
7
7
# THIS FILE IS ONLY FOR USE WITH MS WINDOWS
55
55
# get_special_folder_location(csidl_string)
57
57
target = os.path.join(lib_dir,
58
"PythonCardPrototype\\samples\\samples.py")
58
"PythonCard\\samples\\samples.py")
59
59
path = os.path.join(dest_dir, "Sample Launcher.lnk")
61
61
create_shortcut(target, "Sample Launcher", path)
65
65
path = os.path.join(dest_dir, "Resource Editor.lnk")
66
66
arguments = os.path.join(lib_dir,
67
"PythonCardPrototype\\tools\\resourceEditor\\resourceEditor.py")
67
"PythonCard\\tools\\resourceEditor\\resourceEditor.py")
68
68
create_shortcut(pythonw, "Resource Editor", path, arguments)
72
72
path = os.path.join(dest_dir, "Code Editor.lnk")
73
73
arguments = os.path.join(lib_dir,
74
"PythonCardPrototype\\tools\\codeEditor\\codeEditor.py")
74
"PythonCard\\tools\\codeEditor\\codeEditor.py")
76
76
create_shortcut(pythonw, "Code Editor", path, arguments)
80
80
path = os.path.join(dest_dir, "Find Files.lnk")
81
81
arguments = os.path.join(lib_dir,
82
"PythonCardPrototype\\tools\\findfiles\\findfiles.py")
82
"PythonCard\\tools\\findfiles\\findfiles.py")
84
84
create_shortcut(pythonw, "Find Files", path, arguments)
88
88
target = os.path.join(lib_dir,
89
"PythonCardPrototype\\docs\\html\\index.html")
89
"PythonCard\\docs\\html\\index.html")
90
90
path = os.path.join(dest_dir, "Documentation.lnk")
92
92
create_shortcut(target, "Documentation", path)
96
target = os.path.join(sys.prefix, "RemovePythonCardPrototype.exe")
97
path = os.path.join(dest_dir, "Uninstall PythonCardPrototype.lnk")
96
target = os.path.join(sys.prefix, "RemovePythonCard.exe")
97
path = os.path.join(dest_dir, "Uninstall PythonCard.lnk")
98
98
arguments = "-u " + os.path.join(sys.prefix,
99
"PythonCardPrototype-wininst.log")
99
"PythonCard-wininst.log")
101
create_shortcut(target, "Uninstall PythonCardPrototype",
101
create_shortcut(target, "Uninstall PythonCard",
103
103
file_created(path)