You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems modules (i.e., python files) are not automatically visible in their package (e.g., nitransforms.io, unless explicit imports are set in the __init__.py of the package.
In other words, this code:
fromnitransforms.manipimportTransformChain
doesn't work, unless we add the line
from . importmanip
to nitransforms/__init__.py.
I might be misinterpreting how the default packaging works, but I believe we have some bad setting in the setup.cfg instead.
I know @effigies has dealt quite a bit with setuptools, pep517, etc. - any quick ideas of why this is happening? or this is actually not a bug?
The text was updated successfully, but these errors were encountered:
It seems modules (i.e., python files) are not automatically visible in their package (e.g.,
nitransforms.io
, unless explicit imports are set in the__init__.py
of the package.In other words, this code:
doesn't work, unless we add the line
to
nitransforms/__init__.py
.I might be misinterpreting how the default packaging works, but I believe we have some bad setting in the
setup.cfg
instead.I know @effigies has dealt quite a bit with setuptools, pep517, etc. - any quick ideas of why this is happening? or this is actually not a bug?
The text was updated successfully, but these errors were encountered: