Skip to content

Commit 5c25e4c

Browse files
attempts to improve local build - specify numpy
1 parent 5011294 commit 5c25e4c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

conda.recipe/meta.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ build:
1919
{% for name, reference in project['scripts'].items() %}
2020
- {{ name }} = {{ reference }}
2121
{% endfor %}
22+
skip: true # [not win]
2223

2324
requirements:
2425
host:
2526
- python {{ project['requires-python'] }}
2627
- pip
28+
- numpy >=1.23
2729
{% for dep in pyproject['build-system']['requires'] %}
2830
- {{ dep.lower() }}
2931
{% endfor %}
@@ -34,8 +36,10 @@ requirements:
3436
- setuptools_scm
3537
- pyproj
3638
- pytest-runner >=5.0
39+
- numpy >=1.23
3740
run:
3841
- python {{ project['requires-python'] }}
42+
- numpy >=1.23
3943
{% for dep in project.get('dependencies', []) %}
4044
- {{ dep.lower() }}
4145
{% endfor %}

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ dependencies = [
4646
"rtree",
4747
"click",
4848
"dask",
49-
"pyshp"
49+
"pyshp",
50+
"numpy>=1.23"
5051
]
5152

5253
[project.optional-dependencies]

0 commit comments

Comments
 (0)