Skip to content

Commit a0bfb30

Browse files
Updating conda deps
1 parent f1fa09e commit a0bfb30

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

conda/meta.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ requirements:
3030

3131
run:
3232
- python
33-
- openalea.mtg
34-
- openalea.plantgl
35-
- alinea.caribu
36-
- alinea.astk
3733
{% for dep in deps + conda_deps %}
3834
- {{ dep }}
3935
{% endfor %}

pyproject.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,17 @@ where = ["src"]
6464

6565
[tool.setuptools.package-data]
6666
"hydroshoot_data" = ["*"]
67+
68+
# not used yet by pip, but by meta.yaml
69+
[tool.conda-environment]
70+
channels = [
71+
"openalea3",
72+
"conda-forge",
73+
]
74+
# deps not available in pip with conda name
75+
dependencies = [
76+
"openalea.mtg",
77+
"openalea.plantgl",
78+
"alinea.caribu",
79+
"openalea.astk",
80+
]

src/hydroshoot/energy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
from math import pi
1212

13-
import alinea.astk.icosphere as ico
13+
import openalea.astk.icosphere as ico
1414
import openalea.plantgl.all as pgl
1515
from alinea.caribu.CaribuScene import CaribuScene
1616
from alinea.caribu.sky_tools import turtle

src/hydroshoot/irradiance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
TODO: plug to the standard interface of Caribu module.
77
"""
88

9-
import alinea.astk.icosphere as ico
9+
import openalea.astk.icosphere as ico
1010
from alinea.caribu.CaribuScene import CaribuScene
1111
from alinea.caribu.sky_tools import turtle, Gensun, GetLightsSun
1212
from alinea.caribu.sky_tools.spitters_horaire import RdRsH

0 commit comments

Comments
 (0)