-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrecipe.yaml
More file actions
79 lines (71 loc) · 1.93 KB
/
Copy pathrecipe.yaml
File metadata and controls
79 lines (71 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
schema_version: 1
context:
name: "grid-apps"
# Extract version from auto-generated _version.json
version: "${{ load_from_file('_version.json').version | trim }}"
python_min: "3.12"
module_name: ${{ name|lower|replace("-", "_") }}
package:
name: ${{ name|lower }}
version: "${{ version }}"
source:
path: ../${{ name }}
build:
number: 0
noarch: python
script:
env:
POETRY_DYNAMIC_VERSIONING_BYPASS: "${{ version }}"
content:
${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
requirements:
host:
- python ${{ python_min }}.*
- pip
- poetry-core >=1.8.0
- poetry-dynamic-versioning >=1.9, <2.0.dev
run:
- python >=${{ python_min }}
# Mira packages
- geoh5py >=0.13.0b1, <0.15.0a.dev
- geoapps-utils >=0.7.0b1, <0.9.0a.dev
# other direct dependencies
- discretize 0.12.*
- numpy 2.4.*
- pydantic 2.12.*
- scipy 1.17.*
tests:
- python:
python_version: ${{ python_min }}.*
imports:
- ${{ module_name }}
- ${{ module_name }}._version
- script:
- pytest --ignore=tests/version_test.py
requirements:
run:
- pytest
files:
source:
- tests/
- package_contents:
files:
- site-packages/${{ module_name }}/_version.py
about:
summary: Grid creation and manipulation using GEOH5 format.
description: |
The grid-apps package offers tools for the creation and manipulation of grid objects
(Octree, BlockModel, Grid2D, DrapeModel) using various Python libraries
and `geoh5py <https://mirageoscience-geoh5py.readthedocs-hosted.com/>`_.
license: MIT
license_file:
- LICENSE
- docs/source/THIRD_PARTY_SOFTWARE.rst
homepage: https://www.mirageoscience.com/mining-industry-software/python-integration/
repository: https://github.com/MiraGeoscience/grid-apps
extra:
recipe-maintainers:
- andrewg-mira
- domfournier
- RomFloreani
- sebhmg