Installation¶
Python¶
KiwiPy supports Python versions 3.7 and above.
RabbitMQ¶
KiwiPy depends on RabbitMQ as the message broker. On Ubuntu this is as simple as:
apt install rabbitmq
For other platforms refer to Downloading and Installing RabbitMQ
Building from Source¶
In order to develop kiwipy it’s best to install kiwipy in editable
mode. This allows changes you
make to kiwipy to be reflected immediately in your runtime environment.
First, clone the source:
$ git clone https://github.com/aiidateam/kiwipy.git
Then, create and activate a virtualenv:
virtualenv venv
. venv/bin/activate
pip install -e "kiwipy[rmq,pre-commit,tests]"
To run the tests, make sure the RabbitMQ server is up and running (see the RabbitMQ documentation on how to accomplish and/or verify this) and type:
pytest test