Installing axe DevTools python via a bundle

Link to Installing axe DevTools python via a bundle copied to clipboard

Install axe DevTools bundled with dependencies.

Installing axe DevTools as a bundle is the simplest way to add it to an existing software project. Bundles can be downloaded from this page or may be distributed directly by your Deque representative. For information on how to install from Deque's artifact repository, see Installing axe DevTools Python via pip.

Prerequisites

You must be able to install python wheels. To do so, the wheel package must be installed.

pip install wheel

Installing

Once you have you tarball bundle, such as axe-devtools-behave-1.0.0.tar.gz, the first step is to untar the files.

tar -xzf axe-devtools-behave-1.0.0.tar.gz

This should create a bundle folder in your current directory.

Now install dependencies:

pip install bundle/deps/*.whl

Finally, install the package itself:

pip install bundle/*.whl

What next

You can test that the bundle installed properly by opening your python interpreter and doing the following:

$ python
Python 3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import axe_devtools_api
>>> print(dir(axe_devtools_api))
['Axe', 'ReportConfiguration', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'axe', 'report_configuration']

Where axe_devtools_api is replaced by whatever package you are installing.

For further documentation, please see one of the package-specific pages.