Installation
Requirements
requests
Windows (pip)
Start the command prompt
Install mopinion:
pip install mopinion
Note
You might need to setup your C++ compiler according to this.
Advanced: local setup with system Python (Ubuntu)
These instructions make use of the system-wide Python 3 interpreter:
$ sudo apt install python3-pip
Install mopinion:
$ pip install --user mopinion
Advanced: local setup for development (Ubuntu)
These instructions assume that git
, python3
, pip
, and
pipenv
are installed on your host machine.
Clone the mopinion-python-api repository:
$ git clone https://github.com/Mopinion-com/mopinion-python-api
Create and activate a virtualenv:
$ cd mopinion-python-api
$ pipenv install --python=python3
$ pipenv shell
Run the tests:
(mopinion-python-api) $ pytest