Installation#

This document describes various means of installing Pymich.

Pip#

Dependencies:

  • Pymich currently only supports Python 3.9.

  • A hard dependency of Pymich is Pytezos, which you need to install accordingly (along with its own dependencies).

You can then simply install pymich as follows:

pip install pymich

The installation process will expose the pymich command if your PATH includes the path to your pip binary installs.

Docker#

A Docker image is provided here.

docker run --rm -v "$PWD":"$PWD" -w "$PWD" pyratzlabs/pymich compile <contract-source> michelson > output.tz

Git#

git clone git@yourlabs.io:pyratzlabs/pymich.git

Running the tests is then done using `pytest`:

cd pymich
pytest