Skip to content

Commit

Permalink
add deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ncullen93 committed May 8, 2024
1 parent ff4b7ba commit 2c191d3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
16 changes: 12 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 2c191d3

Please sign in to comment.