core: experimental import of my._init_hook to configure logging/warnings/env variables
This commit is contained in:
parent
c12224af74
commit
ab7135d42f
2 changed files with 11 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
'''
|
||||
A hook to insert user's config directory into Python's search path.
|
||||
Note that this file is imported only if we don't have custom user config (under my.config namespace) in PYTHONPATH
|
||||
|
||||
Ideally that would be in __init__.py (so it's executed without having to import explicitly)
|
||||
But, with namespace packages, we can't have __init__.py in the parent subpackage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue