You should 'import' package directory, not 'addpath'.
So, basically you may use pkg dir. as
but after import pkg dir.
>> import mypkg
then, you can use,
package directory can't be add to the path, but you can import it.
Please refer to :