DCBIA-OrthoLab / SlicerAutomatedDentalTools

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

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

Closed jcfr closed 10 months ago

jcfr commented 11 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 11 months ago

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

allemangD commented 11 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.