File tree Expand file tree Collapse file tree 3 files changed +23
-9
lines changed Expand file tree Collapse file tree 3 files changed +23
-9
lines changed Original file line number Diff line number Diff line change @@ -398,6 +398,12 @@ The run directory now looks as follows:
398
398
│ └── <time-stamp>-reinstall.log
399
399
└── .service
400
400
401
+ .. note ::
402
+
403
+ If your workflow needs to create or install scripts or executables at runtime
404
+ and you don't want Cylc to delete them on re-installation, you can use
405
+ ``bin `` and ``lib/python `` directories in the :ref: ` workflow share directory <WorkflowShareDirectories>`.
406
+
401
407
402
408
Expected Errors
403
409
---------------
Original file line number Diff line number Diff line change @@ -55,9 +55,11 @@ Other files and folders may be placed in the :term:`source directory` too:
55
55
documentation, configuration files, etc. When the workflow is :ref: `installed
56
56
<Installing-workflows>` these will be copied over to the :term: `run directory `.
57
57
58
- If your workflow needs to create or install scripts or executables at runtime
59
- and you don't want Cylc to delete them on re-installation, you can create
60
- equivalent directories in the :ref: `WorkflowShareDirectories `.
58
+ .. note ::
59
+
60
+ If your workflow needs to create or install scripts or executables at runtime
61
+ and you don't want Cylc to delete them on re-installation, you can use
62
+ equivalent directories in the :ref: `WorkflowShareDirectories `.
61
63
62
64
63
65
.. _SyntaxHighlighting :
Original file line number Diff line number Diff line change @@ -319,15 +319,21 @@ output files are typically held in cycle point sub-directories of this.
319
319
The top level share directory location can be changed, e.g. to a large data
320
320
area, by global config settings under :cylc:conf: `global.cylc[install][symlink dirs] `.
321
321
322
- If your workflow creates or installs executables or python libraries
322
+ If your workflow creates or installs executables or Python libraries
323
323
as it is running, these can be placed in:
324
324
325
- * ``share/bin `` - for executables.
326
- * ``share/lib/python `` - for Python modules.
325
+ * ``share/bin/ `` - for executables. This location is automatically added to ``PATH ``
326
+ (before the top-level ``bin/ `` in the run dir).
327
+ * ``share/lib/python/ `` - for Python modules. This location is automatically added
328
+ to ``PYTHONPATH `` (before the top-level ``lib/python/ `` in the run dir).
327
329
328
- These folders will be added to ``PATH `` and ``PYTHONPATH `` so they can be
329
- used by jobs in the same way as
330
- :ref: `top level "bin/" and "lib/python/" directories <WorkflowDefinitionDirectories >`.
330
+ .. note ::
331
+
332
+ Cylc will not create these folders.
333
+
334
+ .. seealso ::
335
+
336
+ :ref: `Top level "bin/" and "lib/python/" directories <WorkflowDefinitionDirectories >`.
331
337
332
338
333
339
Task Work Directories
You can’t perform that action at this time.
0 commit comments