diff --git a/README.md b/README.md index 474c565627241758647581ba9678616998488d63..0fd1d0e5b955c7d236dba6dfcdfeef318ff4b8de 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,11 @@ Installation with `pip` without cloning: pip install git+https://gitlab.irit.fr/sepia-pub/mael/swf2userSessions ``` -Clone and install with `flit`: +Clone and install: ```terminal git clone https://gitlab.irit.fr/sepia-pub/mael/swf2userSessions cd swf2userSessions -flit install +pip install . ``` You can then run the app from CLI by simply calling `swf2userSessions`. @@ -55,4 +55,4 @@ For example use of the script, you can have a look at these two notebooks: ## Tests -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 +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 after having installed the package. \ No newline at end of file diff --git a/test/conftest.py b/test/conftest.py index b074361ece6fea5cfc25e9e514789770da20c39a..15924f64505da25b0ec054c0d5f9552f5e4c9a70 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -30,7 +30,7 @@ def run_script(delim, threshold, out_dir = os.path.abspath(f'test-out/{test_name}') create_dir_rec_if_needed(out_dir) - args = ['python3', 'swf2userSessions/swf2sessions.py', f'--{delim}', str(threshold), + args = ['swf2userSessions', f'--{delim}', str(threshold), '-q', input_swf, out_dir] if graph: args.append("--graph")