-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpip_setup_cachedir.dlg
65 lines (44 loc) · 1.23 KB
/
pip_setup_cachedir.dlg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
* developed by R.Andres Castaneda based on E. F. Haghish - 2018
VERSION 16
POSITION . . 410 120
DIALOG d, label("PIP-Setup Cache Directory")
BEGIN
//---------------------
// File content
//---------------------
// select installable files
TEXT tx_doinfo 10 20 . ., label("Provide an alternative directory path to store PIP cache data.")
TEXT tx_doinfo2 10 +20 . ., label("If you don't want to store any PIP cache, leave blank")
// Path
TEXT tx_dir 10 +30 . 290, label("Directory path")
FILE cachedir 100 @ 200 . , label("Browse ...") ///
directory option(path)
END
OK ok1, label("OK")
CANCEL can1, label("Cancel")
SUBMIT sub1, label("Submit")
HELP hlp1, view("help usersite")
RESET res1
COPY copy1
// ---------------------------------------------------------
// MAKE COMMAND
// =========================================================
PROGRAM command
BEGIN
put "pip_setup cachedir"
put ", "
if (d.cachedir.iseq("")) {
put " cachedir(no)"
}
else {
put " cachedir(" d.cachedir
put ")"
}
// put "local "
// if (d.cachedir.iseq("")) {
// put " cachedir no"
// }
// else {
// put " cachedir " d.cachedir
// }
END