()
| 92 | return False |
| 93 | |
| 94 | def check_git_submodules(): |
| 95 | out = os.popen("git submodule status") |
| 96 | modules = out.readlines() |
| 97 | for submodule in modules: |
| 98 | if (submodule.strip()[0] == "-"): |
| 99 | raise RuntimeError("git submodules are not initialized." |
| 100 | "Please run `git submodule update --init` to fix this.") |
| 101 | |
| 102 | def pythonlib_dir(): |
| 103 | """return path where libpython* is.""" |