The AYABInterface library requires Python 3. It can be installed form the Python Package Index.
Install it with a specific python version under windows:
py -3 -m pip --no-cache-dir install --upgrade AYABInterface
Test the installed version:
py -3 -m pytest --pyargs AYABInterface
To install the version from the python package index, you can use your terminal and execute this under Linux:
sudo python3 -m pip --no-cache-dir install --upgrade AYABInterface
test the installed version:
python3 -m pytest --pyargs AYABInterface
You can setup the development version under Windows and Linux.
If you wish to get latest source version running, you can check out the repository and install it manually.
git clone https://github.com/fossasia/AYABInterface.git
cd AYABInterface
sudo python3 -m pip install --upgrade pip
sudo python3 -m pip install -r requirements.txt
sudo python3 -m pip install -r test-requirements.txt
py.test
To also make it importable for other libraries, you can link it into the site-packages folder this way:
sudo python3 setup.py link
Same as under installation-repository-linux
but you need to replace sudo python3
with py -3
. This also counts for the following documentation.