Importing from within package
Dieter Maurer
dieter at handshake.de
Wed Sep 23 16:12:00 EDT 2020
Abdur-Rahmaan Janhangeer wrote at 2020-9-23 22:41 +0400:
>In shopyo/shopyo (the same folder as __main__.py) there is a folder called
>shopyoapi.
Not in the distribution:
...
shopyo-1.1.45/shopyo/
shopyo-1.1.45/shopyo/__init__.py
shopyo-1.1.45/shopyo/__main__.py
shopyo-1.1.45/shopyo/app.py
shopyo-1.1.45/shopyo/config.py
shopyo-1.1.45/shopyo/manage.py
shopyo-1.1.45/shopyo/test_frontend.py
shopyo-1.1.45/shopyo.egg-info/
...
Maybe, that is your problem (missing folder in the distribution).
More information about the Python-list
mailing list