Installation#

Stable release#

To install OpenAlea.PlantConvert, run this command in your terminal:

$ pip install plantconvert

This is the preferred method to install OpenAlea.PlantConvert, as it will always install the most recent stable release.

If you don’t have pip installed, this Python installation guide can guide you through the process.

From sources#

The sources for OpenAlea.PlantConvert can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://github.com/openalea-incubator/plantconvert

Or download the tarball:

$ curl -OJL https://github.com/openalea-incubator/plantconvert/tarball/master

Once you have a copy of the source, you can install it with:

$ pip install .

Developer Install#

1. Miniconda installation#

Follow official website instruction to install miniconda :

https://docs.conda.io/en/latest/miniconda.html

2. Create virtual environment and activate it#

In Anaconda Prompt:

conda create --name openalea -c conda-forge -c openalea3 openalea.plantgl openalea.mtg -y
conda activate openalea

3. Install the plantconvert package#

git clone https://github.com/openalea/plantconvert.git
cd plantconvert
pip install -e .

4. Optional packages#

conda install -c conda-forge pytest