diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 8318b6c1b8ef4aabae76b10fbdab7a60d7bd6296..e75bc05dbb19359ca30a436b826b7fe0888551fa 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -1,5 +1,6 @@ {% set name = "model_server" %} {% set version = "2024.7.1" %} +{% set pyproject = load_file_data('../pyproject.toml') %} package: name: {{ name|lower }} @@ -9,8 +10,6 @@ source: - path: ../dist/{{ name }}-{{ version }}.tar.gz - path: ../tests folder: tests -# - path: ../../fixtures_{{ version }}.tar.gz - build: noarch: python @@ -24,33 +23,30 @@ requirements: - pip run: - python >=3.9 - - czifile - - fastapi>=0.101.* - - ilastik=1.4.* - - imagecodecs - - jupyterlab - - matplotlib - - numpy=1.* - - pandas=1.* - - pillow - - pydantic=1.10.* - - python=3.9.* - - pytorch=1.* - - scikit-image>=0.21.* - - scikit-learn>=1.3.* - - tifffile - - uvicorn>=0.23.* - - zstd=1.5.5 +# - czifile +# - fastapi>=0.101.* +# - ilastik=1.4.* +# - imagecodecs +# - jupyterlab +# - matplotlib +# - numpy=1.* +# - pandas=1.* +# - pillow +# - pydantic=1.10.* +# - python=3.9.* +# - pytorch=1.* +# - scikit-image>=0.21.* +# - scikit-learn>=1.3.* +# - tifffile +# - uvicorn>=0.23.* +# - zstd=1.5.5 - pip test: -# files: -# - ../../fixtures_{{ version }}.tar.gz imports: - model_server commands: -# -{{ PYTHON }} -m tarfile -e fixtures_{{ version }}.tar.gz -{{ PYTHON }} -m unittest model_server requires: - pip diff --git a/pyproject.toml b/pyproject.toml index 8c200d314e9f56c673b64ce4b652d372f91a115d..03d685efa9c3417c3506dd15d2a18689b92cfad6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,7 @@ requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" + [project] name = "model_server" license = {file = "LICENSE"} @@ -12,6 +13,25 @@ authors = [ description = "Service for analyzing microscope images" readme = "README.md" requires-python = ">=3.9" +dependencies = [ + "czifile", + "fastapi>=0.101.*", + "ilastik=1.4.*", + "imagecodecs", + "jupyterlab", + "matplotlib", + "numpy=1.*", + "pandas=1.*", + "pillow", + "pydantic=1.10.*", + "python=3.9.*", + "pytorch=1.*", + "scikit-image>=0.21.*", + "scikit-learn>=1.3.*", + "tifffile", + "uvicorn>=0.23.*", + "zstd=1.5.5", +] [project.urls] Homepage = "https://git.embl.de/rhodes/model_server"