From bbcb53f850e9ecd59bc3639d9ac472908e902568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Madon?= <mael.madon@irit.fr> Date: Thu, 27 Oct 2022 11:37:18 +0200 Subject: [PATCH] doc: add forgotten dependancies in the readme --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e73b29f..62e6b9b 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,10 @@ The idea behind it is to keep the *logic* of user submissions rather than the ex ## Usage -You need python3 installed on your machine. +Requirements: +- python3 +- [networkx](https://github.com/networkx/networkx) (optional, for the graph outputs): `pip3 install networkx` +- [pytest](https://pytest.org/) (optional, for the tests): `pip3 install pytest` To run the session decomposition on the workload `workloads/example.swf` illustrated above, with "Arrival" delimitation approach and a threshold of 60 minutes: @@ -26,9 +29,4 @@ python3 swf2sessions.py -at 60 workloads/example.swf out/ For more documentation, see: `python3 swf2sessions.py -h` ## Tests -Some integration tests have been written for this script, and are stored in the `test/` folder. To run them on your machine, you need to install pytest and launch it at the root of the project: - -```terminal -pip3 install pytest -pytest -``` \ No newline at end of file +Some integration tests have been written for this script, and are stored in the `test/` folder. To run them on your machine, just type `pytest` at the root of the project. \ No newline at end of file -- GitLab