install mycfg stub along with the package
This commit is contained in:
parent
9cd93e5c05
commit
b1d42a9f61
5 changed files with 9 additions and 2 deletions
|
@ -6,7 +6,7 @@ except ImportError:
|
|||
import warnings
|
||||
warnings.warn("mycfg package isn't found! That might result in issues")
|
||||
|
||||
from . import fake_mycfg as mycfg # type: ignore[no-redef]
|
||||
from . import mycfg_stub as mycfg # type: ignore[no-redef]
|
||||
import sys
|
||||
sys.modules['mycfg'] = mycfg
|
||||
del sys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue