Mark Dickinson <[email protected]> added the comment:
In this line:
> spec = spec_from_file_location("subsubpkg_rel",
> "/home/yon/myproj/mypkg/subpkg/subsubpkg_rel/__init__.py")
try providing the fully-qualified name, instead of just "subsubpkg_rel". That
is:
> spec = spec_from_file_location("mypkg.subpkg.subsubpkg_rel",
> "/Users/mdickinson/Desktop/test/mypkg/subpkg/subsubpkg_rel/__init__.py")
----------
nosy: +mark.dickinson
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39905>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com