From d65aaa388a0991f87932e5f44e606187c0ebeafa Mon Sep 17 00:00:00 2001 From: Toni Harzendorf Date: Mon, 30 Dec 2024 13:52:57 +0100 Subject: [PATCH 1/2] Remove hint about setup.py --help from README Direct CLI Usage is discouraged --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 3b83e53d..fcc020e5 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,6 @@ scripts/build.sh pip install . ``` -Also see `python setup.py --help` - ## Contributors pyslurm is made by [contributors like From 5a3e299a737c0c55effb5bcb171000bd792b2b66 Mon Sep 17 00:00:00 2001 From: Toni Harzendorf Date: Mon, 30 Dec 2024 13:58:45 +0100 Subject: [PATCH 2/2] README: document multicore usage of build.sh --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fcc020e5..97877258 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,18 @@ Then you can proceed to install pyslurm, for example by cloning the Repository: ```shell git clone https://github.com/PySlurm/pyslurm.git && cd pyslurm scripts/build.sh +``` + +Also see `scripts/build.sh -h`. You can specify multiple cores for building +with the `-j` option (also possible to set via environment variable `PYSLURM_BUILD_JOBS`): -# Or simply with pip +```shell +scripts/build.sh -j4 +``` + +Or simply with `pip` directly: + +```shell pip install . ```