mirror of
https://github.com/nasa/trick.git
synced 2025-01-31 08:25:41 +00:00
4146b440b8
Namespace packages are a mechanism for splitting a single Python package across multiple directories on disk. With the addition of $(TRICK_HOME)/pymods/trick, there now exists a package named 'trick' at $(TRICK_HOME)/pymods and in each SIM_* directory. This change allows sims to import modules from both locations. Refs #365
3 lines
75 B
Python
3 lines
75 B
Python
from pkgutil import extend_path
|
|
__path__ = extend_path(__path__, __name__)
|