(go to: table of contents, index, prev: files from the Python for OpenVMS distribution, next: installing and building)
These numbers are from the 1.5.2-V007 version. Updates contain bugfixes
for existing files and new functionality in new files so the final disk
space that is required is higher.
Note that during first-time execution of the procedure
SETUP.COM it creates a subdirectory named [.PYTHON_TMP]
where the logical name SYS$SCRATCH points to.
Define a foreign command for UNZIP. The following example can be put into a
command procedure to work on Alpha and VAX systems.
disk space calculations
The following information should help you to calculate the amount of disk space
required during and after installation. Sizes are taken from a disk with
a cluster size of 4.
Total space used on OpenVMS VAX is about 63732/68508 blocks (/DEBUG /noOPTIMIZE,
all modules enabled, threading enabled) on a disk with a cluster size of 4
blocks.
select directory for the installation
The top-level of the directory tree is assumed to be named
[PYTHON]. The current Python environment requires 6 directory
levels. All instructions so far assume that the [PYTHON] directory is directly
stored in the master file directory ([000000]) of a disk (e.g. DKA100:). No
tests have been done to use a concealed logical name for the 'disk'.
logical names
Beginning with version 1.5.2-V001 logical names are used to
point to certain directories within the build process. The person who installs
the software should be able to type in the commands from the instructions
directly or use cut and paste without changes.
Example:
$ define PYTHON_DISK DKA100:
$ define PYTHON_DOC_DEMO -
PYTHON_DISK:[PYTHON.PYTHON-1_5_2.VMS.DOC.DEMO]
$ define PYTHON_INCLUDE PYTHON_DISK:[PYTHON.PYTHON-1_5_2], -
PYTHON_DISK:[PYTHON.PYTHON-1_5_2.INCLUDE]
$ define PYTHON_INS_TMP DKB100:[PYTHON_INSTMP]
$ define PYTHON_INS_TOOLS PYTHON_DISK:[PYTHON.TOOLS]
$!
$ _ARCH = "ALPHA"
$ if (F$GETSYI("CPU").le.127) then $ _ARCH = "VAX"
$ define PYTHON_OLB -
PYTHON_DISK:[PYTHON.PYTHON-1_5_2.VMS.O_'_ARCH']
$ define PYTHON_TOOLS PYTHON_DISK:[PYTHON.PYTHON-1_5_2.VMS.TOOLS]
$ define PYTHON_VMS PYTHON_DISK:[PYTHON.PYTHON-1_5_2.VMS]
$!
$ delete /SYMBOL /LOCAL _ARCH
create directories
$ create /DIRECTORY /PROTECTION=(G:RE;W:RE) PYTHON_INS_TMP:
$ create /DIRECTORY /PROTECTION=(G:RE;W:RE) PYTHON_INS_TOOLS:
foreign commands
Place the executable of the
$ _ARCH = "ALPHA"
$ if (F$GETSYI("CPU").le.127) then $ _ARCH = "VAX"
$ UNZIP == "$PYTHON_INS_TOOLS:UNZIP_''_ARCH'.EXE"
$ delete /SYMBOL /LOCAL _ARCH
store software kits
Store the files that you have downloaded into PYTHON_INS_TMP: or
download them now into that directory.
OpenVMS patches
See the 'patches'