()
| 21 | |
| 22 | |
| 23 | def _get_project_version(): |
| 24 | version_path = os.path.join(base_dir, "ctranslate2", "version.py") |
| 25 | version = {} |
| 26 | with open(version_path, encoding="utf-8") as fp: |
| 27 | exec(fp.read(), version) |
| 28 | return version["__version__"] |
| 29 | |
| 30 | |
| 31 | def _maybe_add_library_root(lib_name): |