Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed

Conversation

jcfr
Copy link
Contributor

@jcfr jcfr commented Dec 20, 2023

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)

…nit__.py

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
Copy link
Contributor Author

jcfr commented Dec 20, 2023

re: #59

@allemangD
Copy link
Contributor

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.

@allemangD allemangD closed this Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants