You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reference implementation consists of two packages. The ``cwltool`` package
27
27
is the primary Python module containing the reference implementation in the
@@ -31,61 +31,81 @@ The ``cwlref-runner`` package is optional and provides an additional entry point
31
31
under the alias ``cwl-runner``, which is the implementation-agnostic name for the
32
32
default CWL interpreter installed on a host.
33
33
34
-
``cwltool`` is provided by the CWL project, `a member project of Software Freedom Conservancy <https://sfconservancy.org/news/2018/apr/11/cwl-new-member-project/>`_ and our `many contributors <https://github.com/common-workflow-language/cwltool/graphs/contributors>`_.
34
+
``cwltool`` is provided by the CWL project, `a member project of Software Freedom Conservancy <https://sfconservancy.org/news/2018/apr/11/cwl-new-member-project/>`_
35
+
and our `many contributors <https://github.com/common-workflow-language/cwltool/graphs/contributors>`_.
35
36
36
37
Install
37
38
-------
38
39
39
-
Your operating system may offer cwltool directly. For `Debian <https://tracker.debian.org/pkg/cwltool>`_ or `Ubuntu <https://launchpad.net/ubuntu/+source/cwltool>`_ try
40
+
``cwltool`` packages
41
+
^^^^^^^^^^^^^^^^^^^^
42
+
43
+
Your operating system may offer cwltool directly. For `Debian <https://tracker.debian.org/pkg/cwltool>`_, `Ubuntu <https://launchpad.net/ubuntu/+source/cwltool>`_,
44
+
and similar Linux distribution try
40
45
41
46
.. code:: bash
42
47
43
-
apt-get install cwltool
48
+
sudo apt-get install cwltool
44
49
45
-
For MacOS X, other UNIXes or Windows packages prepared by the conda-forge project. Please follow instructions of conda-forge (https://conda-forge.org/#about) for its installation, then perform:
50
+
If you are running MacOS X or other UNIXes and you want to use packages prepared by the conda-forge project, then
51
+
please follow the install instructions for `conda-forge <https://conda-forge.org/#about>`_ (if you haven't already) and then
46
52
47
53
.. code:: bash
48
54
49
55
conda install -c conda-forge cwltool
50
-
51
-
Under the hood, conda setups virtual environments before installing `cwltool` to
52
-
avoid conflicting versions of the same library. When installing cwltool directly,
53
-
it is recommended to do the same manually:
56
+
57
+
All of the above methods of installing ``cwltool`` use packages which might contain bugs already fixed in newer versions, or be missing features that you desire.
58
+
If the packaged version of ``cwltool`` available to you is too old, then we recommend installing using ``pip`` and ``venv`::
54
59
55
60
.. code:: bash
56
61
57
-
virtualenv -p python3 venv # Create a virtual environment
58
-
sourcevenv/bin/activate# Activate environment before installing `cwltool`
62
+
python3 -m venv env # Create a virtual environment named 'env' in the current directory
63
+
sourceenv/bin/activate # Activate environment before installing `cwltool`
59
64
60
-
Installing the official package from PyPi (will install "cwltool" package as
65
+
Then install the latest ``cwlref-runner`` package from PyPi (which will install the latest ``cwltool`` package as
61
66
well)
62
67
63
68
.. code:: bash
64
69
65
70
pip install cwlref-runner
66
71
67
-
If installing alongside another CWL implementation then
72
+
If installing alongside another CWL implementation (like ``toil-cwl-runner`` or ``arvados-cwl-runner``) then instead run
68
73
69
74
.. code:: bash
70
75
71
76
pip install cwltool
72
77
73
-
Or you can install from source:
78
+
MS Windows users
79
+
^^^^^^^^^^^^^^^^
80
+
81
+
1. Install `"Windows Subsystem for Linux 2" (WSL2) and Docker Desktop <https://docs.docker.com/docker-for-windows/wsl/#prerequisites>`_
82
+
2. Install `Debian from the Microsoft Store <https://www.microsoft.com/en-us/p/debian/9msvkqc78pk6>`_
83
+
3. Set Debian as your default WSL 2 distro: ``wsl --set-default debian``
84
+
4. Reboot if you have not yet already.
85
+
5. Launch Debian and follow the Linux instructions above (``apt-get install cwltool`` or use the ``venv`` method)
86
+
87
+
``cwltool`` development version
88
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
89
+
90
+
Or you can skip the direct ``pip`` commands above and install the latest development version of ``cwltool``:
0 commit comments