Skip to content

Building, testing, installing

Emil Karlén edited this page Dec 17, 2016 · 7 revisions

Dependencies

Exactly is written entirely in Python and does not require any external libraries.

Exactly requires Python >= 3.4 (not tested on earlier version of Python 3).

Installing using pip

Use pip to install the latest version from PyPI:

$ pip install exactly

This installs the python library and the exactly executable.

Since Exactly is a Python 3 program, the pip executable for Python 3 may be named pip3 on your system:

$ pip3 install exactly

Installing from sources

Use "setuptools" to install from sources:

$ python3 setup.py build

$ sudo python3 setup.py install

Running Exactly from sources

Exactly can also be run directly from sources:

$ python3 src/default-main-program-runner.py

Testing Exactly

To run Exactly's test suite:

$ python3 test/run-test-suite.py

To run the test suite towards an installed program:

$ python3 test/run-test-suite-towards-installed-program.py