forked from gmggroup/omf-python
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrecipe.yaml
More file actions
79 lines (71 loc) · 2.07 KB
/
recipe.yaml
File metadata and controls
79 lines (71 loc) · 2.07 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: "mira-omf"
version: "0.0.0.dev0" # This will be replaced by the actual version in the build process
python_min: "3.12"
module_name: omf
package:
name: ${{ name|lower }}
version: ${{ version }}
source:
path: ../omf
build:
number: 1
noarch: python
script: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
python:
entry_points:
- geoh5_to_omf = omf.scripts.geoh5_to_omf:main
- omf_to_geoh5 = omf.scripts.omf_to_geoh5:main
requirements:
host:
- pip
- python ${{ python_min }}.*
- poetry-core >=1.8.0
- poetry-dynamic-versioning >=1.9, 1.*
- setuptools
run:
- python >=${{ python_min }}
# Mira packages
- geoh5py >=0.13.0a2, 0.13.*
# direct dependencies
- numpy 2.4.*
- properties 0.6.*
- pypng 0.20220715.*
- six >=1.16.0, 1.*
- vectormath 0.2.*
- standard-imghdr 3.13.*
tests:
- python:
imports:
- ${{ module_name }}
- ${{ module_name }}._version
pip_check: false # unclear why pip check reports that installed versions
# of vectormath and properties are "not supported on this platform"
# while they seem to work fine in the tests
- script:
- pytest --ignore=tests/version_test.py
requirements:
run:
- pytest
files:
source:
- tests/
- docs/images/PointSetGeometry.png
- package_contents:
files:
- site-packages/${{ module_name }}/_version.py
about:
summary: API library for Open Mining Format, a new standard for mining data backed by the Global Mining Standards & Guidelines Group.
description: |
API library for Open Mining Format, a new standard for mining data backed by the Global Mining Standards & Guidelines Group.
license: MIT
license_file:
- LICENSE
- THIRD_PARTY_SOFTWARE.rst
homepage: https://www.mirageoscience.com/mining-industry-software/python-integration/
repository: https://github.com/MiraGeoscience/omf
extra:
recipe-maintainers:
- andrewg-mira
- sebhmg