-
Notifications
You must be signed in to change notification settings - Fork 247
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
Apps/improve py init #3642
Apps/improve py init #3642
Conversation
seems like I messed up sth, fixing it now |
now it works, I had forgotten to rename some files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look fine according to what was discussed ..!
@jcotela do you also agree with these changes ?
@adityaghantasala I discussed it briefly in person with @philbucher yesterday, but I think it makes a lot of sense. |
sorry for messing this up in the first place :/ |
thx |
This PR updates how the new python-init scripts are being used.
Initially I had put them into the python_scripts folder of the apps and named the
__init__.py
, but this introduces the problem that then this folder can be imported as a python-modules, which should not be the case.Therefore I moved them back where they were initially and used the original name
=> CMake does the renaming now when installing the file to
KratosMultiphysics
=> this way we can avoid all problems with the potentially dangerous
__init__.py
NOTE: this PR does not change the behavior, the apps still work as python-modules (introduced in #3217 )
sorry for the inconvenience
Wiki is updated