DCBIA-OrthoLab / SlicerAutomatedDentalTools

A 3D Slicer extension to use AMASSS, ALI-CBCT and ALI-IOS
Other
81 stars 24 forks source link

COMP: Fix ALI_IOS module CMake configuration error adding missing `__init__.py` #63

Closed jcfr closed 8 months ago

jcfr commented 9 months ago

This commit fixes error like the following reported when attempting to configure the extension:

CMake Error at D:/D/P/S-0/CMake/SlicerMacroBuildScriptedModule.cmake:78 (message):
  slicerMacroBuildScriptedModule(SCRIPTS) given nonexistent file or directory
  'utils_windows/__init__.py'
Call Stack (most recent call first):
  ALI_IOS/CMakeLists.txt:17 (slicerMacroBuildScriptedModule)
jcfr commented 9 months ago

re: https://github.com/DCBIA-OrthoLab/SlicerAutomatedDentalTools/issues/59

allemangD commented 9 months ago

I did this in #60 - see 56015b0

There are also some other python packages that were missing __init__.py or did not declare it to CMake, but they did not cause compile error because the package was never imported directly.