From 318cd9428b3b9954d40a27e758ba6ad363e54ba0 Mon Sep 17 00:00:00 2001 From: Jon Craton Date: Tue, 14 Nov 2023 10:23:44 -0500 Subject: [PATCH] Require setuptools in setup.py (#1526) This change adds setuptools as a dependency in setup.py. This ensures that it will be present in all environments after install, since it is a runtime dependency. --- python/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/setup.py b/python/setup.py index 58b124272..3ed3304fc 100644 --- a/python/setup.py +++ b/python/setup.py @@ -108,6 +108,7 @@ def _maybe_add_library_root(lib_name): ext_modules=[ctranslate2_module], python_requires=">=3.8", install_requires=[ + "setuptools", "numpy", "pyyaml>=5.3,<7", ],