Skip to content

Commit dd2b945

Browse files
committed
Fix
1 parent 40e6852 commit dd2b945

File tree

3 files changed

+20
-9
lines changed

3 files changed

+20
-9
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo on
2+
%PYTHON% -m pip install . -vv
3+
if errorlevel 1 exit 1
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
set -ex
3+
4+
$PYTHON -m pip install . -vv

recipes/glidergun/meta.yaml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,30 @@ source:
1111

1212
build:
1313
number: 0
14-
skip: true # [py<310]
14+
skip: true # [py<310 or py>=314]
1515

1616
outputs:
1717
- name: glidergun
18-
script: {{ PYTHON }} -m pip install . -vv
18+
build:
19+
skip: true # [py<310 or py>=314]
20+
script: build_glidergun.sh # [unix]
21+
script: build_glidergun.bat # [win]
1922
requirements:
2023
host:
2124
- python
2225
- pip
2326
- setuptools >=69
2427
- wheel
2528
run:
26-
- python >=3.10
29+
- python >=3.10,<3.14
2730
- contourpy >=1.3.2 # [py<311]
2831
- contourpy >=1.3.3 # [py>=311]
2932
- ipython >=8.39.0 # [py<311]
3033
- ipython >=9.10.1 # [py>=311]
31-
- matplotlib >=3.10.8
34+
- matplotlib-base >=3.10.8
3235
- numpy >=2.2.6 # [py<311]
33-
- numpy >=2.4.4 # [py>=311]
34-
- opencv-python >=4.13.0.92
36+
- numpy >=2.2.6 # [py>=311]
37+
- opencv >=4.9.0
3538
- planetary-computer >=1.0.0
3639
- rasterio >=1.4.4
3740
- scikit-learn >=1.7.2 # [py<311]
@@ -46,14 +49,15 @@ outputs:
4649
- python -c "import glidergun; print('glidergun import ok')"
4750

4851
- name: glidergun-torch
49-
noarch: generic
52+
build:
53+
noarch: generic
54+
skip: true # [py<310 or py>=314]
5055
requirements:
5156
run:
52-
- python >=3.10
57+
- python >=3.10,<3.14
5358
- glidergun =={{ version }}
5459
- pytorch >=2.7
5560
- kornia >=0.8.2
56-
- sam-prompt >=0.1.1
5761
test:
5862
commands:
5963
- python -c "import glidergun; print('glidergun-torch deps ok')"

0 commit comments

Comments
 (0)