From 1d39c129fbd39d4e24dcc27f0a171d5800714aaa Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Thu, 9 Jan 2025 10:39:15 +0100 Subject: [PATCH] Add path to findPythonDeps --- docs/writing-easyconfig-files.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/writing-easyconfig-files.md b/docs/writing-easyconfig-files.md index 7c29e1b89..83b3ffd10 100644 --- a/docs/writing-easyconfig-files.md +++ b/docs/writing-easyconfig-files.md @@ -990,6 +990,7 @@ For updates to easyconfigs containing Python packages (`PythonBundle`) you shoul The latest version of a single Python package can usually be found on [PyPI](https://pypi.org). To find the list of Python dependencies for another Python package to be installed by an easyconfig you can use the `findPythonDeps` script distributed with EasyBuild. +For a typical installation it can be run using `$(dirname $(which eb))/../easybuild/scripts/findPythonDeps.py` which automatically finds the standard path for it. This will also output the latest, compatible version of the found packages. A good approach is to start from an easyconfig just containing the dependency on Python but no Python packages and then run e.g. `findPythonDeps.py --ec foo-1.2.3.eb foo==1.2.3`. For every Python package displayed by the script first search for a suitable easyconfig containing that package and add it as a dependency one by one.