From eeae133ad74cb97ff3770a010f22bbfe379ab9f0 Mon Sep 17 00:00:00 2001 From: MiXaiLL76 Date: Mon, 23 Dec 2024 16:04:52 +0300 Subject: [PATCH 1/2] add faster-coco-eval --- recipes/faster-coco-eval/meta.yaml | 52 ++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 recipes/faster-coco-eval/meta.yaml diff --git a/recipes/faster-coco-eval/meta.yaml b/recipes/faster-coco-eval/meta.yaml new file mode 100644 index 0000000000000..d3f1227efdb34 --- /dev/null +++ b/recipes/faster-coco-eval/meta.yaml @@ -0,0 +1,52 @@ +{% set name = "faster-coco-eval" %} +{% set version = "1.6.5" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/faster_coco_eval-{{ version }}.tar.gz + sha256: 51c20207ebbd7a9fbf16113ffe39749355e0888c5ed274f2771da71ee347cb8f + +build: + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + build: + - {{ compiler('c') }} + - {{ compiler('cxx') }} + host: + - python + - setuptools >=42 + - wheel + - python-build + - oldest-supported-numpy # [py<39] + - cython + - pybind11 >=2.12.0 + - pip + run: + - python + - plotly + - pandas + - pillow + - {{ pin_compatible('numpy') }} + +test: + imports: + - faster_coco_eval + commands: + - pip check + requires: + - pip + +about: + home: https://github.com/MiXaiLL76/faster_coco_eval + summary: Faster interpretation of the original COCOEval + license: Apache-2.0 + license_file: LICENSE + +extra: + recipe-maintainers: + - MiXaiLL76 From 9bd0a8733defa97a56c56a4bdefe0d90d4714d27 Mon Sep 17 00:00:00 2001 From: MiXaiLL76 Date: Mon, 23 Dec 2024 16:44:08 +0300 Subject: [PATCH 2/2] add stdlib('c') --- recipes/faster-coco-eval/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/faster-coco-eval/meta.yaml b/recipes/faster-coco-eval/meta.yaml index d3f1227efdb34..4bad8aac15b8f 100644 --- a/recipes/faster-coco-eval/meta.yaml +++ b/recipes/faster-coco-eval/meta.yaml @@ -17,6 +17,8 @@ requirements: build: - {{ compiler('c') }} - {{ compiler('cxx') }} + # this is necessary for all compiled recipes + - {{ stdlib('c') }} host: - python - setuptools >=42