return path where libpython* is.
()
| 100 | "Please run `git submodule update --init` to fix this.") |
| 101 | |
| 102 | def pythonlib_dir(): |
| 103 | """return path where libpython* is.""" |
| 104 | if sys.platform == 'win32': |
| 105 | return os.path.join(sys.prefix, "libs") |
| 106 | else: |
| 107 | return get_config_var('LIBDIR') |
| 108 | |
| 109 | def is_npy_no_signal(): |
| 110 | """Return True if the NPY_NO_SIGNAL symbol must be defined in configuration |