Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add napping recipe #25122

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions recipes/napping/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{% set name = "napping" %}
{% set version = "0.2.4" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/napping-{{ version }}.tar.gz
sha256: f3d46b3001d4321c7afb650c43b640c734cd006b6081e3e8cba33100c66687da

build:
entry_points:
- napping = napping.__main__:main
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0
script_env:
- QT_QPA_PLATFORM=offscreen

requirements:
host:
- pip
- python >=3.8
- setuptools >=45
- setuptools-scm >=6.0
- wheel
run:
- imagecodecs
- imageio # Imported but not declared as dependency
- napari >=0.4.16
- numpy
- pandas
- pillow # Imported but not declared as dependency
- python >=3.8
- qtpy
- scikit-image

test:
imports:
- napping
commands:
- pip list
- pip check
# - napping --help # This is openning the napari application and hanging the CI as it never closes
requires:
- pip
- pyqt # napari does not ship a binding by default, is up to the user to install pyside or pyqt

about:
home: https://pypi.org/project/napping
summary: Control point mapping and coordination transformation using napari
license: MIT
license_file: LICENSE
dev_url: https://github.com/BodenmillerGroup/napping

extra:
recipe-maintainers:
- goanpeca
- jaimergp
2 changes: 2 additions & 0 deletions recipes/napping/yum_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mesa-libGL-devel
xorg-x11-server-Xvfb