Python on OpenVMS
(go to: table of contents, index, prev: files from the PYVMS distribution, next: installing and building)
These numbers are from the 1.5.2-V005 version. Updates contain bugfixes
for existing files and new functionality in new files so the final disk
space that is required is higher.
The following logical names are currently used:
Define a foreign command for UNZIP. The following example can be put into a
command procedure to work on Alpha and VAX systems.
Now you can start the installation / building.
disk space calculations
The following information should help you to calculate the amount of disk space
required during and after installation:
Total space used on OpenVMS VAX is about 76500 blocks 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 PYVMS_DISK DKA100:
$ define PYVMS_INS_TMP DKB100:[PYVMSINSTMP]
$ define PYVMS_INS_TOOLS PYVMS_DISK:[PYTHON.TOOLS]
$!
$ define PYTHON_INCLUDE PYVMS_DISK:[PYTHON.PYTHON-1_5_2], -
PYVMS_DISK:[PYTHON.PYTHON-1_5_2.INCLUDE]
$ _ARCH = "ALPHA"
$ if (F$GETSYI("HW_MODEL").LT.1024) then $ _ARCH = "VAX"
$ define PYTHON_OLB PYVMS_DISK:[PYTHON.PYTHON-1_5_2.O_'_ARCH']
$ define PYTHON_VMS PYVMS_DISK:[PYTHON.PYTHON-1_5_2.VMS]
create directories
$ create /DIRECTORY /PROTECTION=(G:RE;W:RE) PYVMS_INS_TMP:
$ create /DIRECTORY /PROTECTION=(G:RE;W:RE) PYVMS_INS_TOOLS:
foreign commands
Place the executable of the
$ _ARCH = "ALPHA"
$ if (F$GETSYI("HW_MODEL").LT.1024) then $ _ARCH = "VAX"
$ UNZIP == "$PYVMS_INS_TOOLS:UNZIP_''_ARCH'.EXE"
$ delete /SYMBOL /LOCAL _ARCH
store software kits
Store the files that you have downloaded into PYVMS_INS_TMP: or
download them now into that directory.
OpenVMS patches
See the 'patches'