Skip to content

Commit

Permalink
Merge pull request #7 from openalea/visualea
Browse files Browse the repository at this point in the history
Visualea in qt5
  • Loading branch information
pradal authored Feb 16, 2023
2 parents e36c1d7 + dd72015 commit 7af515c
Show file tree
Hide file tree
Showing 138 changed files with 102,953 additions and 102,500 deletions.
67 changes: 67 additions & 0 deletions .github/workflows/conda-package-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: build_publish_anaconda

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build-and-publish:
name: ${{ matrix.os }}, Python 3.${{ matrix.python-minor-version }} for conda deployment
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
max-parallel: 3
matrix:
os: [ ubuntu-latest]
python-minor-version: [9]
isMaster:
- ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/dev') }}
exclude:
- isMaster: false
os: ubuntu-latest
python-minor-version: 7
- isMaster: false
os: ubuntu-latest
python-minor-version: 8
- isMaster: false
os: macos-latest
python-minor-version: 7
- isMaster: false
os: macos-latest
python-minor-version: 8
- isMaster: false
os: macos-latest
python-minor-version: 9
- isMaster: false
os: windows-latest
python-minor-version: 7
- isMaster: false
os: windows-latest
python-minor-version: 8
- isMaster: false
os: windows-latest
python-minor-version: 9

steps:
- name: Chekout
uses: actions/checkout@v3
- name: Determine publish
uses: haya14busa/action-cond@v1
id: publish
with:
cond: ${{ contains(github.ref, 'master') || startsWith(github.ref, 'refs/heads/v') }}
if_true: 'true'
if_false: 'false'
- name: Build and Publish
uses: openalea/[email protected]
with:
conda: conda
mamba: true
python: ${{ matrix.python-minor-version }}
numpy: '20.0'
channels: openalea3, conda-forge
token: ${{ secrets.ANACONDA_TOKEN }}
publish: ${{ steps.publish.outputs.value }}
label: main
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ doc/_dvlpt/


# user custom filters

.DS_Store
1 change: 0 additions & 1 deletion .travis.yml

This file was deleted.

46 changes: 46 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# OpenAlea.OALab

- Authors : Guillaume Baty, Christophe Pradal,, Christophe Godin
- Institutes : INRIA / CIRAD
- Status : Python application
- License : Cecill-C
- URL : http://openalea.rtfd.io

## About

### Description

OpenAleaLab is a multi-paradigm modeling environment for plants. It will permit to divide the modeller’s work into multiple tasks. Each task can be viewed as a virtual experiment. OpenAleaLab is based on OpenAlea platform and components.



### Content

The OpenAlea.oalab package contains a large set of concepts and sub-packages:
* Controls
* Graphical Components
* Models
* Nodes
* Plugins and PluginManager
* Projects

and of course
* the ipython shell.
The last component is integrated into **VisuAlea**

The complete description (and old one) is described here: http://virtualplants.github.io/latest/dev/archi/index.html



### Installation

```bash
conda install -c openalea3 -c conda-forge openalea.oalab
```

### Requirements
* openalea.deploy
* openalea.core
* qtpy
* qtconsole

48 changes: 0 additions & 48 deletions README.txt

This file was deleted.

53 changes: 0 additions & 53 deletions appveyor.yml

This file was deleted.

28 changes: 18 additions & 10 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,40 +1,48 @@
{% set version = "2.0.1" %}
{% set data = load_setup_py_data() %}

package:
name: openalea.oalab
version: {{ version }}
version: {{ data.get('version') }}

source:
path: ..

build:
noarch: python
preserve_egg_dir: True
number: 2
script: python setup.py install --prefix=$PREFIX
number: 0
script: {{PYTHON}} setup.py install

requirements:
build:
- python {{PY_VER}}
- setuptools
- openalea.deploy
- six
run:
- python <3.11
- openalea.deploy
- openalea.core
- openalea.vpltk
- ipython <5
- ipython
- qtconsole
- configobj

test:
imports:
- openalea.oalab
requires:
- nose
- pytest
source_files:
- test/
- test/*.py

commands:
- nosetests -v
- cd test
- pytest -v test_*.py


about:
home: http://github.com/openalea/oalab
home: {{ data.get('url') }}
license: Cecill-c License
summary: OALab package for OpenAlea.
summary: {{ data.get('description') }}

Loading

0 comments on commit 7af515c

Please sign in to comment.