-
Notifications
You must be signed in to change notification settings - Fork 3
/
Python3.com
46 lines (46 loc) · 1.81 KB
/
Python3.com
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
$ if "''P1'" .eqs. ""
$ then
$ CONFIG := DEBUG
$ else
$ CONFIG := 'P1'
$ endif
$ write sys$output "Prepare for ''CONFIG'"
$
$ com_nam = f$environment("procedure")
$ com_dir = f$parse(com_nam,,,"directory")
$ com_dev = f$parse(com_nam,,,"device")
$ com_pat = com_dev + com_dir
$ bld_pat = com_dev + com_dir - "]" + ".out.''CONFIG']"
$ inc_pat = com_dev + com_dir - "]" + ".include]"
$ cpy_pat = com_dev + com_dir - "]" + ".include.cpython]"
$ lib_pat = com_dev + com_dir - "]" + ".lib...]"
$ vms_py_pat = com_dev + com_dir - "]" + ".modules.vms...]"
$ rdb_py_pat = com_dev + com_dir - "]" + ".modules.rdb...]"
$ vms_pat = com_dev + com_dir - "]" + ".vms]"
$ dyn_pat = com_dev + com_dir - "]" + ".out.'CONFIG'.lib-dynload...]"
$ cnf_pat = com_dev + com_dir - "]" + ".build]"
$ @'com_pat'Python3_names.com
$
$ pipe delete/tree python$root:[000000...]*.*;* | copy SYS$INPUT nl:
$
$ backup 'bld_pat'python3.exe python$root:[bin]
$
$ backup 'inc_pat'*.h python$root:[include]
$ backup 'cpy_pat'*.h python$root:[include.cpython]
$ backup 'com_pat'pyconfig.h python$root:[include]
$ backup 'com_pat'py_vms.h python$root:[include]
$
$ backup 'lib_pat'*.* python$root:[lib.python3^.8...]
$ backup 'vms_py_pat'*.py python$root:[lib.python3^.8.vms]
$ backup 'rdb_py_pat'*.py python$root:[lib.python3^.8]
$ backup 'bld_pat'python$shr.exe python$root:[lib]
$
$ backup 'vms_pat'format_macros.h python$root:[include.vms]
$ backup 'vms_pat'python$define_root.com python$root:[000000]
$ backup 'vms_pat'python$pcsi_preconfigure.com python$root:[000000]
$ backup 'vms_pat'python$startup.com python$root:[000000]
$ backup 'vms_pat'python$shutdown.com python$root:[000000]
$
$ backup 'dyn_pat'*.* python$root:[lib.python3^.8.lib-dynload...]*.*
$ ! next file must be present
$ backup 'cnf_pat'_sysconfigdata__OpenVMS_cpython-38-ia64-openvms.py python$root:[lib.python3^.8]