diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000..570382b --- /dev/null +++ b/environment.yml @@ -0,0 +1,17 @@ +name: hidrokit-rainfall +channels: + - conda-forge + - defaults +dependencies: + - python=3.9.13 + - pandas=1.5.1 + - dash=2.7.0 + - dash-bootstrap-components=1.2.1 + - plotly=5.11.0 + - statsmodels=0.13.5 + - python-box=6.1.0 + - pyyaml=6.0 + - pip + - pip: + - dash-bootstrap-templates==1.0.7 + - hidrokit==0.4.1 diff --git a/pylayoutfunc.py b/pylayoutfunc.py index 724269b..78a220e 100644 --- a/pylayoutfunc.py +++ b/pylayoutfunc.py @@ -1,3 +1,4 @@ +from __future__ import annotations from dash import html, dash_table, dcc import dash_bootstrap_components as dbc from pytemplate import hktemplate diff --git a/requirements.txt b/requirements.txt index 094a4e7..3499a36 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,12 +1,19 @@ -dash==2.3.1 -dash_bootstrap_components==1.1.0 -dash_bootstrap_templates==1.0.5 -numpy==1.22.3 -pandas==1.4.2 -plotly==5.7.0 -python_box==6.0.2 -requests==2.27.1 -statsmodels -pyyaml -gunicorn +# PYTHON 3.9.13 + +# available in conda-forge +pandas==1.5.1 +dash==2.7.0 +dash-bootstrap-components==1.2.1 +plotly==5.11.0 +python-box==6.1.0 +pyyaml==6.0 +statsmodels==0.13.5 + +# pip exclusive (available in conda with different name) + +# pip only +dash-bootstrap-templates==1.0.7 hidrokit==0.4.1 + +# server only +gunicorn==20.1.0 diff --git a/runtime.txt b/runtime.txt index a5da7cc..c6f7782 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.10.5 +python-3.9.13