Pip package creation - __init__.py can't find local file to import

0

When I run the __init__.py with python3 locally, it successfully imports "other"

import other

But when I download it on another computer through

pip install sql_panda_wrapper --upgrade

importing the model throws:

ModuleNotFoundError: No module named 'other'

I am using both of the following commands to package and upload my files:

python3 setup.py sdist bdist
python3 -m twine upload --skip-existing dist/*

Here's my directory structure:

NS0

Posted 2019-05-10T19:56:01.167

Reputation: 1

No answers