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 recipe for core package #88

Draft
wants to merge 10 commits into
base: master
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
24 changes: 24 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,30 @@ jobs:
- name: Coverage
uses: codecov/codecov-action@v3

build_conda:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: mamba-org/setup-micromamba@v1
with:
environment-name: conda-build-env
create-args: >-
conda-build
conda-verify
init-shell: bash

# We don't want the whole repo (recipe), since that includes some test data
- run: |
mkdir output/
conda-build core --output-folder output --no-include-recipe
shell: bash -leo pipefail {0}
name: Build conda package
- uses: actions/upload-artifact@v4
with:
name: lls-core-conda
# Upload the actual conda package
path: output/**/lls_core*.tar.bz2

deploy:
# this will run when you have tagged a commit, starting with "v*"
# and requires that you have put your twine API key in your
Expand Down
72 changes: 72 additions & 0 deletions core/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Note: this is the conda package config file, not to be confused with the Python package config file `pyproject.toml`
{% set name = "lls_core" %}
{% set version = "0.2.7" %}

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

source:
path: .

build:
entry_points:
- napari_lattice = napari_lattice.cmds.__main__:main
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python >=3.8
- setuptools
- wheel
- pip
run:
- python >=3.8
- aicsimageio >=4.6.3
- aicspylibczi >=3.1.1
- click
- dask-core
- fsspec >=2022.8.2
- importlib_resources
- napari-workflows >=0.2.8
- npy2bdv
- numpy
- pandas
- pyclesperanto-prototype >=0.20.0
- pyopencl
- pydantic >=1.10.17,<3
- pyyaml
- read-roi
- rich
- resource_backed_dask_array >=0.1.0
- scikit-image
- strenum
- tifffile >=2023.3.15
- toolz
- tqdm
- typer
- typing_extensions >=4.7.0
- xarray

run_constrained:
- ome-types >=0.3.4

test:
imports:
- lls_core
commands:
- pip check
- lls-pipeline --help
requires:
- pip

about:
home: https://github.com/BioimageAnalysisCoreWEHI/napari_lattice
license: GPL-3.0
license_file: ../LICENSE

extra:
recipe-maintainers:
- multimeric
Loading