Installation

Note

We highly recommend the use of a virtual environment with Python 3.6.0 using virtualenv or conda.

python-cwlgen dependencies

python-cwlgen has been primarily tested using Python3 and uses the following libraries:

  • ruamel.yaml (between 0.12.4 and 0.15.87)
  • six (1.10.0)

The project has been designed to work with Python 2.7+ and has accompanying tests, however please raise an issue if you have incompatibility issues.

Installation procedure

Pip

You can use pip to install the latest version from pypi:

pip install cwlgen

Manually

Clone the repository and install cwlgen with the following command:

git clone https://github.com/common-workflow-language/python-cwlgen.git
cd python-cwlgen
pip install .

Uninstallation procedure

Pip

You can remove python-cwlgen with the following command:

pip uninstall cwlgen

Note

This will not uninstall dependencies. To do so you can make use of pip-autoremove.