I would like to know the proper way to handle importing and packaging for addons/Python.
I am taking a look at GunGame for its directory structure and the way it handles packaging. I am trying to make sense of it but a lot of the semantics seem lost on me. For instance, ../gungame/core/logging.py is imported from ../gungame/core/__init__.py as `from .logger import gg_logger`. However unlike ../gungame/core/credits.py there is no __all__ declaration. Further more in logging.py, it imports from loggers although I am unable to find loggers in a sibling directory.
I would like someone to explain to me the proper methodology of importing.
Proper Importing and Packaging
Who is online
Users browsing this forum: No registered users and 40 guests