L-Py core is a
C++ library but based on the
The communication between both language is made using
PlantGL library is used for the 3D modelling.
Qt library and its python wrappers
PyQt (build with
SIP) are used to create the visual interface.
PyOpenGL is used to display and edit the materials.
To compile and install it from sources, the project requires
setuptools and their
To test it, the
nosetests conventions is used.
All these projects have to be correctly installed before compiling
Cython module that make it possible to translate python code into
C code is automatically integrated to the project if detected. You can install it if you want to test this extension.
Installing for Linux & Mac¶
First, you need to install conda: https://conda.io/docs/user-guide/install/index.html
When it’s done, create an environment for L-Py:
conda create -n lpy vplants.lpy -c openalea
Then, activate the L-Py environment
source activate lpy
And run L-Py
Installing binaries (Windows)¶
You can download binaries of this project via the OpenAlea Installer after loggin on the Inria Gforge.
Installing from sources¶
You should first install all dependencies. Then in a shell, go in the project home directory and simply type
to compile. You can use option
-j numproc if you have several processors.
python setup.py install
to install it into you python system.
To run test,
cd test/ nosetests
To launch the visual editor, on windows you can click on
[Start]/Programs/OpenAlea/Lpy. On linux,