Installation¶
Prerequisites¶
Python 3.7 or later (http://www.python.org/)
See the
setup.pyfile for Python package dependencies.See the
tryton.cfgfile for Tryton module dependencies.
Using pip¶
The easiest way to install this module and it’s dependencies is directly from the Python Package Index:
pip3 install trytonlq_authentication_totp
If you want to display QR codes for use with authenticator apps, then you will need some additional packages installed on your system. This is done automatically if you run:
pip3 install trytonlq_authentication_totp[qrcode]
Using sources¶
Alternatively, you can clone the tryton-modules repository, and install the module from there:
git clone https://bitbucket.org/libateq/tryton-modules
cd tryton-modules/authentication_totp
python3 setup.py install
Other Information¶
You may need administrator/root privileges to perform the installation, as the install commands will by default attempt to install the module to the system wide Python site-packages directory on your system.
For advanced options, please refer to the standard Python packaging and installation documentation:
To use without installation, extract the archive into trytond/modules
with the directory name authentication_totp.