From c1c92769d992c00af5f7d62237c8b06dcebb2129 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Fri, 17 Jan 2025 04:16:11 -0600 Subject: [PATCH] Update conda recipe to be more like conda-forge feedstock --- conda/meta.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/conda/meta.yaml b/conda/meta.yaml index 2055c339..42558fa2 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -1,5 +1,6 @@ {% set name = "zppy" %} {% set version = "3.0.0rc1" %} +{% set python_min = "3.9" %} package: name: {{ name|lower }} @@ -11,17 +12,16 @@ source: build: number: 0 - script: "{{ PYTHON }} -m pip install . --no-deps -vv" + script: {{ PYTHON }} -m pip install . --no-deps --no-build-isolation -vv noarch: python - entry_points: - - zppy = zppy.__main__:main requirements: host: - - python >=3.9 + - python {{ python_min }} - pip + - setuptools run: - - python >=3.9 + - python >={{ python_min }} - configobj >=5.0.0,<6.0.0 - jinja2 >=2.0.0 - mache >=1.3.2 @@ -29,6 +29,7 @@ requirements: test: requires: + - python {{ python_min }} - pip imports: - zppy