Get the base directory where IPython itself is installed.
()
| 85 | |
| 86 | |
| 87 | def get_ipython_package_dir() -> str: |
| 88 | """Get the base directory where IPython itself is installed.""" |
| 89 | ipdir = os.path.dirname(IPython.__file__) |
| 90 | assert isinstance(ipdir, str) |
| 91 | return ipdir |
| 92 | |
| 93 | |
| 94 | def get_ipython_module_path(module_str): |
no outgoing calls