Mailing List Archive

Setup.py + src: Modules not found
Greetings list,

I have this project:
https://github.com/pyhoneybot/honeybot

I badly wanted to use setup.cfg but editable mode is not allowed for
now. I then switched back to setup.py.

This is my first time with src/,

my entry point is src/honeybot/manage.py:main

now in editable mode i manage to get everything to work

however, when installing from tar.gz i get

from honeybot.api.main import Bot_core
ModuleNotFoundError: No module named 'honeybot.api'

like i have a hard time getting how exactly to import with src/

i guess everything was working as when i changed to honeybot.x, the package
was installed but on a fresh release, it does not know what exactly is
honeybot
for the first time

Q: In my case in modules what should i write to import from /api?

Kind Regards,

Abdur-Rahmaan Janhangeer
about <https://compileralchemy.github.io/> | blog
<https://www.pythonkitchen.com>
github <https://github.com/Abdur-RahmaanJ>
Mauritius
--
https://mail.python.org/mailman/listinfo/python-list