Skip to content

Commit 0283386

Browse files
committed
ci: update conda recipe
1 parent 60eaf11 commit 0283386

4 files changed

Lines changed: 72 additions & 7 deletions

File tree

.github/workflows/package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
with:
5050
miniconda-version: "latest"
5151
auto-update-conda: true
52-
activate-environment: quickview
53-
environment-file: quickview-env.yml # optional (see below)
52+
activate-environment: quickcompare
53+
environment-file: quickcompare-env.yml # optional (see below)
5454
channel-priority: strict
5555

5656
- name: Install dependencies and get version

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
uses: conda-incubator/setup-miniconda@v2
1919
with:
2020
auto-update-conda: true
21-
activate-environment: quickview
22-
environment-file: quickview-env.yml # optional (see below)
21+
activate-environment: quickcompare
22+
environment-file: quickcompare-env.yml # optional (see below)
2323
channel-priority: strict
2424

2525
- name: Install dependencies
@@ -30,5 +30,5 @@ jobs:
3030

3131
- name: Run help command
3232
run: |
33-
python -m e3sm_quickview.app --help
33+
python -m e3sm_compareview.app --help
3434
shell: bash -l {0}

docs/setup/for_app_developers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ cd QuickView
2121

2222
```
2323
# Set up conda environment
24-
conda env create -f quickview-env.yml
25-
conda activate quickview
24+
conda env create -f quickcompare-env.yml
25+
conda activate quickcompare
2626
2727
# Install QuickView
2828
pip install -e .

e3sm_compareview/recipe.yaml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
schema_version: 1
2+
3+
context:
4+
python_min: "3.10"
5+
version: "1.3.1"
6+
7+
package:
8+
name: e3sm_compareview
9+
version: ${{ version }}
10+
11+
source:
12+
url: https://pypi.org/packages/source/e/e3sm_compareview/e3sm_compareview-${{ version }}.tar.gz
13+
sha256: 940c6daa32f3c93a5dcfceb3f7004a40b7358b10081f165e229d269c7f7e62e0
14+
15+
build:
16+
number: 0
17+
noarch: python
18+
script: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
19+
python:
20+
entry_points:
21+
- compareview = e3sm_compareview.app:main
22+
- quickcompare = e3sm_compareview.app:main
23+
24+
requirements:
25+
host:
26+
- python ${{ python_min }}.*
27+
- hatchling
28+
- pip
29+
run:
30+
- python >=${{ python_min }}
31+
- numpy <2.4
32+
- trame >=3.12
33+
- trame-vtk >=2.10
34+
- trame-vuetify >=3.1
35+
- pyproj >=3.6.1
36+
- netcdf4 >=1.6.5
37+
- trame-dataclass >=1.2
38+
- trame-components
39+
- trame-tauri >=0.6.2
40+
- pillow
41+
- e3sm-quickview
42+
43+
tests:
44+
- python:
45+
imports:
46+
- e3sm_compareview
47+
pip_check: true
48+
python_version: ${{ python_min }}.*
49+
- requirements:
50+
run:
51+
- pip
52+
- python ${{ python_min }}.*
53+
script:
54+
- compareview --help
55+
- quickcompare --help
56+
57+
about:
58+
summary: An application to explore/analyze data for atmosphere component for E3SM
59+
license: Apache-2.0
60+
license_file: LICENSE
61+
homepage: https://pypi.org/project/e3sm-compareview/
62+
63+
extra:
64+
recipe-maintainers:
65+
- willdunklin

0 commit comments

Comments
 (0)