Get the base directory where IPython itself is installed.
()
| 87 | |
| 88 | |
| 89 | def get_ipython_package_dir() -> str: |
| 90 | """Get the base directory where IPython itself is installed.""" |
| 91 | ipdir = os.path.dirname(IPython.__file__) |
| 92 | assert isinstance(ipdir, str) |
| 93 | return ipdir |
| 94 | |
| 95 | |
| 96 | def get_ipython_module_path(module_str): |
no outgoing calls
no test coverage detected
searching dependent graphs…