Installation

Requirements

Before installing ZXingLight, you need to:

  1. Install ZXing C++
  2. Install C++11 compatible version of g++ (>= 4.8.1)

Installing ZXing C++

Download and install ZXing C++ according to README.

Warning

Do not forget to use -DCMAKE_CXX_FLAGS=-fPIC. Otherwise, linking will fail while installing ZXingLight.

Installing ZXingLight

ZXingLight can be installed from PyPI using pip:

$ pip install zxinglight

Or using setuptools:

$ python setup.py install