From 2c191d34c6f13ab6e8be2e4865b72229d2e0a018 Mon Sep 17 00:00:00 2001 From: ncullen93 Date: Wed, 8 May 2024 15:14:10 +0200 Subject: [PATCH] add deps --- CMakeLists.txt | 3 +-- pyproject.toml | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b79cb7c..45f333ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,9 +13,8 @@ find_package(Python 3.8 find_package(nanobind CONFIG REQUIRED) # TODO: make this run only if ITK + ANTs are not already built (for now: comment these 2 lines out to quickly rebuild antspy) -# TODO: make this handle different OS either here or within the configure script +# TODO: handle different OS either here or within the configure script # TODO: move this outside of CMakeLists.txt like in the old antspy (issue: how to run scripts from pyproject.toml?) -# otherwise you have to comment it out during development execute_process(COMMAND bash ${PROJECT_SOURCE_DIR}/scripts/configure_ITK.sh) execute_process(COMMAND bash ${PROJECT_SOURCE_DIR}/scripts/configure_ANTs.sh) diff --git a/pyproject.toml b/pyproject.toml index bc3f3c31..35065a78 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,18 @@ authors = [ classifiers = [ "License :: OSI Approved :: BSD License", ] -dynamic = ["dependencies"] +dependenices = [ + "pandas", + "pyyaml", + "numpy", + "scikit-image", + "scikit-learn", + "statsmodels", + "webcolors", + "matplotlib", + "Pillow", + "nibabel" +] [project.urls] Homepage = "https://github.com/antsx/antspy" @@ -34,9 +45,6 @@ cmake.args = [] wheel.packages = ["ants"] -[tool.setuptools.dynamic] -dependencies = {file = ["requirements.txt"]} - [tool.cibuildwheel] # Necessary to see build output from the actual compilation build-verbosity = 1