@@ -27,41 +27,29 @@ of the following options for your operating system:
27
27
28
28
``` {note}
29
29
If you are using Windows, you will have to install the [Windows Subsystem for Linux 2](https://learn.microsoft.com/en-us/windows/wsl/install) (WSL2).
30
- Visit the `cwltool` [documentation](https://github.com/common-workflow-language/cwltool/blob/main/README.rst #ms-windows-users)
30
+ Visit the `cwltool` [documentation](https://cwltool.readthedocs.io/en/latest/ #ms-windows-users)
31
31
for details on installing WSL2.
32
32
Your operating system also needs internet access and a recent version of Python (3.6+).
33
33
```
34
34
35
35
## CWL Runner
36
36
37
37
% https://github.com/common-workflow-language/user_guide/issues/166
38
- % https://github.com/common-workflow-language/user_guide/issues/64
39
38
% https://www.synapse.org/#!Synapse:syn2813589/wiki/401462
40
39
41
40
The first thing you will need for running CWL workflows is a CWL runner.
42
41
` cwltool ` is a Python Open Source project maintained by the CWL community. It
43
42
is also the CWL reference runner, which means it must support everything in the
44
43
current CWL specification, {{ cwl_version }}.
45
44
46
- ` cwltool ` can be installed with ` pip ` . We recommend using a virtual environment
47
- like ` venv ` or ` conda ` . The following commands will create and activate a Python
48
- virtual environment using the ` venv ` module, and install ` cwltool ` in that
49
- environment:
50
-
51
- ``` {code-block} console
52
- :name: installing-cwltool-with-pip-and-venv
53
- :caption: Installing `cwltool` with `pip` and `venv`.
54
-
55
- $ python3 -m venv venv
56
- $ source venv/bin/activate
57
- $ (venv) pip install -U pip setuptools wheel
58
- $ (venv) pip install cwltool
59
- ```
45
+ ` cwltool ` can be installed with ` pip ` , ` apt ` , or ` conda ` . We recommend using a virtual environment
46
+ like ` venv ` or ` conda ` .
60
47
61
48
``` {note}
62
- Visit the `cwltool` [documentation](https://github.com/common-workflow-language/cwltool #install)
63
- for other ways to install `cwltool` with `apt` and `conda `.
49
+ Visit the `cwltool` [documentation](https://cwltool.readthedocs.io/en/latest/ #install)
50
+ for details on installing `cwltool`.
64
51
```
52
+
65
53
Let's use a simple CWL tool description ` true.cwl ` with ` cwltool ` .
66
54
67
55
``` {literalinclude} /_includes/cwl/true.cwl
0 commit comments