Installazione di axe DevTools python tramite un bundle

This page is not available in the language you requested. You have been redirected to the English version of the page.
Link to this page copied to clipboard
Not for use with personal data

Installa axe DevTools in bundle con le dipendenze.

Installare axe DevTools come bundle è il modo più semplice per aggiungerlo a un progetto software esistente. I pacchetti possono essere scaricati da questa pagina oppure possono essere distribuiti direttamente dal tuo rappresentante Deque. Per informazioni su come installare dal repository degli artefatti di Deque, vedere Installazione di axe DevTools Python tramite pip.

Prerequisiti

Devi essere in grado di installare wheels di Python. Per fare ciò, è necessario installare il pacchetto wheel .

pip install wheel

Installazione

Una volta ottenuto il pacchetto tarball, ad esempio axe-devtools-behave-1.0.0.tar.gz, il primo passo è scompattare i file.

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

Questo dovrebbe creare bundle una cartella nella directory corrente.

Ora installa le dipendenze:

pip install bundle/deps/*.whl

Infine, installa il pacchetto stesso:

pip install bundle/*.whl

Cosa succederà dopo

Puoi verificare che il bundle sia stato installato correttamente aprendo il tuo python interprete e procedendo come segue:

$ 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']

Dove axe_devtools_api viene sostituito dal pacchetto che si sta installando.

Per ulteriore documentazione, consultare una delle pagine specifiche del pacchetto.