Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
8a1a2cc
testing new CI without test
baugetfa Jul 18, 2025
ec28fc7
again testing new CI without test
baugetfa Jul 18, 2025
0eecb62
again though I have the string
baugetfa Jul 18, 2025
0d90232
again rewrote the string
baugetfa Jul 18, 2025
5153e68
I changed the line and locally I grep it
baugetfa Jul 18, 2025
8aec40e
again I changed the line and locally I grep it
baugetfa Jul 18, 2025
7854ec4
tried a trick
baugetfa Jul 18, 2025
34b9509
oups a copy/paste without a brain
baugetfa Jul 18, 2025
f503472
with test in meta.yaml
baugetfa Jul 21, 2025
eb755bf
set priority to openalea3/label/dev
baugetfa Jul 21, 2025
1992782
as plantgl excluded macos-latest
baugetfa Jul 21, 2025
bce18b2
disabled another test for win
baugetfa Jul 21, 2025
77b5079
disabled 2 test for win
baugetfa Jul 21, 2025
d438b46
disabled one more test for win
baugetfa Jul 21, 2025
c8a31e1
updated meta.yaml
baugetfa Jul 21, 2025
86004ec
modif copied from fredboudon
baugetfa Jul 22, 2025
0757c71
try again merge to master, all os passed on branch release2025
baugetfa Jul 22, 2025
c8576c5
remove repetitions of conda-forge pinning refs
christian34 Aug 22, 2025
006a757
remove pinning
christian34 Aug 22, 2025
88ea7fb
add rc (for pyqglviewer py3.13) and macosx-latest
christian34 Aug 22, 2025
d983f57
remove rc, test if tag is detected
christian34 Aug 22, 2025
67f43fa
Merge pull request #50 from openalea/ci_py13
christian34 Aug 22, 2025
28ba358
remove manual pinnings
christian34 Aug 28, 2025
d6da344
Merge pull request #51 from openalea/release_pining
christian34 Aug 28, 2025
1054f74
[openalea-bot] synced local '.github/workflows/' with remote 'workflo…
christian34 Sep 16, 2025
36f9f12
Merge pull request #52 from openalea/repo-sync/github/default
pradal Oct 14, 2025
70054e8
removed accents
baugetfa Oct 27, 2025
f9c64db
update to vs 17 2022
baugetfa Oct 27, 2025
5de20b2
cleaning
baugetfa Oct 27, 2025
21c069f
Merge pull request #59 from openalea/win_utf8
baugetfa Oct 27, 2025
63f65ca
add pyproject and removed setup, etc.
baugetfa Oct 27, 2025
c31e633
[no ci] WIP pyproject
baugetfa Oct 27, 2025
6959461
conda-build locally running with test on linux
baugetfa Oct 29, 2025
da340bc
[no ci] got bin lpy in conda package
baugetfa Oct 30, 2025
cef2631
[no ci] lpy gui working with entry added to meta.yaml
baugetfa Oct 31, 2025
9baab3d
[no ci] missing qtconsole in dependencies
baugetfa Oct 31, 2025
9998263
script management
baugetfa Nov 3, 2025
dc11d0a
removed a space after find_package
baugetfa Nov 3, 2025
aac67f9
test to publish only ubuntu and windows pkg on dev
baugetfa Nov 4, 2025
450b5b7
back to general CI and correction python include dir
baugetfa Nov 5, 2025
9a03f4b
Merge pull request #60 from openalea/dev_scikit
pradal Nov 5, 2025
b97949f
Remove scons files
pradal Nov 5, 2025
0816be2
remove uneeded files
pradal Nov 5, 2025
d0df88e
Update build instructions
pradal Nov 5, 2025
bcb6f77
Update RTFD conf
pradal Nov 5, 2025
98cf345
add the new environment
pradal Nov 5, 2025
0bd246b
[no ci] conf environment.yml
baugetfa Nov 5, 2025
6900058
[no ci] removed error
baugetfa Nov 5, 2025
6531525
[no ci] WIP
baugetfa Nov 5, 2025
197d4b4
[no ci] WIP
baugetfa Nov 5, 2025
8c05ff5
[no ci] corrected openalea ci badge
baugetfa Nov 6, 2025
54990d8
Merge pull request #62 from openalea/doc
baugetfa Dec 2, 2025
64a9eac
rU to r
baugetfa Dec 4, 2025
0d1dbad
minor changes in in doc subtelities.rst
baugetfa Dec 4, 2025
c0408e3
Merge pull request #63 from openalea/53-release-2025-invalid-mode-ru
baugetfa Dec 8, 2025
9e1e20e
Update wralea: change namespace from vplants to openalea
pradal Dec 15, 2025
7318acb
Merge pull request #65 from openalea/visualea
pradal Dec 15, 2025
30beabd
small changes and version
baugetfa Dec 17, 2025
377989c
Merge pull request #67 from openalea/visualea
pradal Dec 17, 2025
1bce2b2
[no ci] environment.yml update channel to openalea3
baugetfa Dec 18, 2025
e12401d
Merge branch 'Branch_2516f087' into Branch_v3.15.2
christian34 Feb 11, 2026
38e887a
Merge branch 'Branch_v3.15.2' into Branch_v3.15.3
christian34 Feb 11, 2026
29861b9
Merge branch 'Branch_v3.15.3' into Branch_v3.15.4
christian34 Feb 11, 2026
4a365a3
Merge pull request #68 from openalea/Branch_v3.15.4
christian34 Feb 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .github/workflows/conda-package-build.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/openalea_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: OpenAlea CI

on:
push:
branches:
- main
- master
tags:
- 'v*'
pull_request:
types:
- opened
- synchronize
- reopened
release:
types:
- published
workflow_dispatch:
inputs:
check_before_tag:
description: "Run OpenAlea CI pre-tag build"
required: false
default: "true"
type: boolean

run-name: >
${{ github.event_name == 'workflow_dispatch' && 'OpenAlea CI pre-tag build' || 'OpenAlea CI' }}

jobs:
build:
uses: openalea/action-build-publish-anaconda/.github/workflows/openalea_ci.yml@main
secrets:
anaconda_token: ${{ secrets.ANACONDA_TOKEN }}
35 changes: 35 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: "ubuntu-22.04"
tools:
python: "mambaforge-22.9"

conda:
environment: "doc/environment.yml"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
builder: html
configuration: doc/conf.py
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
# builder: "dirhtml"
# Fail on all warnings to avoid broken references
# fail_on_warning: true

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: doc/requirements.txt
1 change: 0 additions & 1 deletion .travis.yml

This file was deleted.

27 changes: 13 additions & 14 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# --- CMake Modules

cmake_minimum_required(VERSION 3.12)
cmake_minimum_required(VERSION 3.20)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include("Anaconda")
include("pywrapper")
Expand All @@ -11,8 +11,7 @@ project(lpy_project CXX)

# --- Build setup

set(CMAKE_INCLUDE_PATH "$ENV{CONDA_PREFIX}/include" ${CMAKE_INCLUDE_PATH})
set(CMAKE_LIBRARY_PATH "$ENV{CONDA_PREFIX}/lib" ${CMAKE_LIBRARY_PATH})

set(CMAKE_SKIP_BUILD_RPATH FALSE)
set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
Expand All @@ -28,7 +27,7 @@ endif("${isSystemDir}" STREQUAL "-1")

# --- CXX11 Compilation

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG")
Expand Down Expand Up @@ -56,13 +55,15 @@ endif()

# --- Python

set(Python3_FIND_VIRTUALENV FIRST)
set(Python_FIND_VIRTUALENV FIRST)
if (WIN32)
# needed when we run cmake in a conda environment
set(Python3_FIND_REGISTRY LAST)
set(Python_FIND_REGISTRY LAST)
endif()

find_package (Python3 COMPONENTS Interpreter Development NumPy REQUIRED)
set(Python_ROOT_DIR "$ENV{CONDA_PREFIX}")
find_package(Python3 COMPONENTS Interpreter Development REQUIRED)

include_directories(${Python3_INCLUDE_DIRS})

# --- Libraries
Expand All @@ -72,19 +73,17 @@ find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core Concurrent)
find_package(PlantGL REQUIRED)

if(POLICY CMP0167) # Removes find boost warning
cmake_policy(SET CMP0167 NEW)
endif()

set(Boost_NO_SYSTEM_PATHS ON)
set(Boost_USE_MULTITHREAD ON)
set(Boost_USE_STATIC_LIBS OFF)
set(BUILD_SHARED_LIBS ON)


set(boost_python python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR})
find_package(Boost 1.69 COMPONENTS system ${boost_python} REQUIRED)
if (NOT Boost_FOUND)
message("Boost not found, trying again")
set(boost_python python)
find_package(Boost 1.69 COMPONENTS system ${boost_python} REQUIRED)
endif()

find_package(Boost COMPONENTS system ${boost_python} REQUIRED)

Expand All @@ -105,4 +104,4 @@ endif()
add_subdirectory("src/cpp")
add_subdirectory("src/wrapper")

install_share("share" "lpy")
install_share("share" "lpy")
10 changes: 0 additions & 10 deletions PKG-INFO

This file was deleted.

11 changes: 4 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.. image:: https://img.shields.io/badge/License-GPL-blue.svg
:target: https://opensource.org/licenses/GPL-3.0

.. image:: https://github.com/openalea/lpy/actions/workflows/conda-package-build.yml/badge.svg
:target: https://github.com/openalea/lpy/actions/workflows/conda-package-build.yml
.. image:: https://github.com/openalea/lpy/actions/workflows/openalea_ci.yml/badge.svg
:target: https://github.com/openalea/lpy/actions/workflows/openalea_ci.yml
:alt: Github Actions Continuous Integration Status

.. image:: https://ci.appveyor.com/api/projects/status/8bd8xhc9wy0bee0k/branch/master?svg=true
Expand Down Expand Up @@ -52,9 +52,9 @@ To install L-Py, you need to create an environment (named for instance lpy) :

.. code-block:: bash

>>> conda create -n lpy openalea.lpy -c fredboudon -c conda-forge
>>> conda create -n lpy openalea.lpy -c openalea3 -c conda-forge

The package ``openalea.lpy`` is retrieved from the ``fredboudon`` channel (developement) and its dependencies will be taken from ``conda-forge`` channel.
The package ``openalea.lpy`` is retrieved from the ``openalea3`` channel (developement) and its dependencies will be taken from ``conda-forge`` channel.

Then, you need to activate the L-Py environment

Expand All @@ -74,9 +74,6 @@ Documentation

Documentation is available at `<http://lpy.readthedocs.io/en/latest/>`_


A previous version of the documentation was also available on `OpenAlea website <http://openalea.gforge.inria.fr/dokuwiki/doku.php?id=packages:vplants:lpy:main>`_

Help and Support
----------------

Expand Down
53 changes: 0 additions & 53 deletions appveyor.yml

This file was deleted.

2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
conda mambabuild . -c conda-forge -c fredboudon --python=3.10 --no-test
conda mambabuild . -c conda-forge -c openalea3/label/dev -c openalea3/label/rc -c openalea3 --python=3.13 --no-test
43 changes: 37 additions & 6 deletions cmake/Anaconda.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
if (DEFINED ENV{CONDA_PREFIX})
# Anaconda Environment
message(STATUS "Anaconda environment detected: " $ENV{CONDA_PREFIX})



set(CMAKE_INCLUDE_PATH "$ENV{CONDA_PREFIX}/include" ${CMAKE_INCLUDE_PATH})
set(CMAKE_LIBRARY_PATH "$ENV{CONDA_PREFIX}/lib" ${CMAKE_LIBRARY_PATH})

if (DEFINED ENV{PREFIX})
file(TO_CMAKE_PATH $ENV{PREFIX} TMP_CONDA_ENV)
else()
file(TO_CMAKE_PATH $ENV{CONDA_PREFIX} TMP_CONDA_ENV)
endif()

if (WIN32)
set(CONDA_ENV "${TMP_CONDA_ENV}/Library/")
else()
Expand Down Expand Up @@ -45,15 +47,36 @@ if (DEFINED ENV{CONDA_BUILD})
if (APPLE)
set(CMAKE_OSX_ARCHITECTURES $ENV{OSX_ARCH})
endif()

set(CMAKE_CXX_COMPILER $ENV{CXX})
set(CMAKE_CXX_COMPILER_RANLIB $ENV{RANLIB})
set(CMAKE_CXX_COMPILER_AR $ENV{AR})

# where is the target environment
set(CMAKE_FIND_ROOT_PATH $ENV{PREFIX} $ENV{BUILD_PREFIX} $ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot $ENV{CONDA_BUILD_SYSROOT})
set(CMAKE_FIND_ROOT_PATH $ENV{PREFIX} $ENV{BUILD_PREFIX})
if (APPLE)
list(APPEND CMAKE_FIND_ROOT_PATH $ENV{CONDA_BUILD_SYSROOT} )
endif()
if (WIN32)
list(APPEND CMAKE_FIND_ROOT_PATH $ENV{BUILD_PREFIX}/Library/usr $ENV{PREFIX}/Library/usr)
set(CMAKE_INCLUDE_PATH "$ENV{BUILD_PREFIX}/Library/usr/include" ${CMAKE_INCLUDE_PATH})
set(CMAKE_LIBRARY_PATH "$ENV{BUILD_PREFIX}/Library/usr/lib" ${CMAKE_LIBRARY_PATH})
endif()
if (UNIX)
# I add both old stype and new style cdts : https://github.com/conda-forge/cdt-builds#old-stylelegacy-vs-new-style-cdts
list(APPEND CMAKE_FIND_ROOT_PATH $ENV{BUILD_PREFIX}/x86_64-conda-linux-gnu/sysroot $ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot )
list(APPEND CMAKE_FIND_ROOT_PATH $ENV{PREFIX}/x86_64-conda-linux-gnu/sysroot $ENV{PREFIX}/$ENV{HOST}/sysroot )

link_directories($ENV{BUILD_PREFIX}/x86_64-conda-linux-gnu/sysroot/lib64 $ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot/lib64)
link_directories($ENV{BUILD_PREFIX}/x86_64-conda-linux-gnu/sysroot/lib $ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot/lib)
link_directories($ENV{BUILD_PREFIX}/x86_64-conda-linux-gnu/sysroot/usr/lib64 $ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot/usr/lib64)
link_directories($ENV{BUILD_PREFIX}/x86_64-conda-linux-gnu/sysroot/usr/lib $ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot/usr/lib)
endif()

message("CMAKE_FIND_ROOT_PATH :" ${CMAKE_FIND_ROOT_PATH})
message(STATUS "CMAKE_FIND_ROOT_PATH :")
foreach(dir ${CMAKE_FIND_ROOT_PATH})
message(STATUS " - " ${dir})
endforeach()

# search for programs in the build host directories
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)
Expand Down Expand Up @@ -86,4 +109,12 @@ else()
message(STATUS "Install Prefix: " ${CMAKE_INSTALL_PREFIX})
endif()

function(install_pgllib libname)
message("Installing ${libname} in ${CONDA_ENV}lib/")
install(TARGETS ${libname}
RUNTIME DESTINATION "${CONDA_ENV}bin/"
LIBRARY DESTINATION "${CONDA_ENV}lib/"
ARCHIVE DESTINATION "${CONDA_ENV}lib/"
)
endfunction()

14 changes: 5 additions & 9 deletions cmake/pywrapper.cmake
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@


function(pgllib_link_python libwrapname)
if(NOT APPLE OR NOT USE_CONDA)
if (Python3_FOUND)
target_link_libraries(${libwrapname} Python3::Python)
elseif (Python2_FOUND)
target_link_libraries(${libwrapname} Python2::Python)
if (APPLE)
target_link_libraries(${libwrapname} "-undefined dynamic_lookup")
else()
target_link_libraries(${libwrapname} Python3::Python)
endif()
else()
message(STATUS "Do not link with Python directly : " ${libwrapname})
endif()
endfunction()

function(pgllib_link_boost libwrapname)
Expand All @@ -35,5 +31,5 @@ function(pglwrapper_install libwrapname)
endfunction()

function(install_share sharedirectory project)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${sharedirectory}/ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/${project}")
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${sharedirectory}/ DESTINATION "${CONDA_ENV}/share/${project}")
endfunction()
File renamed without changes.
File renamed without changes.
17 changes: 0 additions & 17 deletions conda/conda_build_config.yaml

This file was deleted.

Loading
Loading