Installation¶
PySys can be installed into any Python version from 3.8 to 3.12.
The best way to install PySys is using the standard pip
installer which
downloads and install the binary package for the current PySys
release, by executing:
> python -m pip install PySys
Alternatively, you can download the binary .whl
package from
https://github.com/pysys-test/pysys-test/releases and use
python -m pip install PySys-<VERSION>.whl
instead.
Make sure you have an up-to-date pip using python -m pip install --upgrade pip
.
See https://packaging.python.org/tutorials/installing-packages for
more information about using pip
.
Windows¶
On Windows, pip will automatically install the pywin32 and colorama libraries that PySys depends upon.
The executable launcher script pysys.py
is installed into the Scripts\
directory of the Python installation, e.g. c:\Python\Scripts\pysys.py
.
To allow easy invocation of PySys from any test directory you may wish to add
the Scripts directory to your PATH
or copy the script to a location that is
already on PATH
. Alternatively you can run PySys using python -m pysys
.
Unix¶
The executable launcher script pysys.py
is installed into Python’s binary
directory, e.g. /usr/local/bin
, and hence should be on the current user’s
PATH
automatically; if not, just add it. Alternatively you can run PySys
using python -m pysys
.
Those wishing to use the manual tester should ensure they have installed the tcl/tk libraries on the host machine and are using a Python version that was compiled with tcl/tk support.