This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients mark.dickinson, yon
Date 2020-03-08.20:39:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583699957.6.0.34575236216.issue39905@roundup.psfhosted.org>
In-reply-to
Content
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")
History
Date User Action Args
2020-03-08 20:39:17mark.dickinsonsetrecipients: + mark.dickinson, yon
2020-03-08 20:39:17mark.dickinsonsetmessageid: <1583699957.6.0.34575236216.issue39905@roundup.psfhosted.org>
2020-03-08 20:39:17mark.dickinsonlinkissue39905 messages
2020-03-08 20:39:17mark.dickinsoncreate