aboutsummaryrefslogtreecommitdiffstats
path: root/tasks/_vendor/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/_vendor/README.rst')
-rw-r--r--tasks/_vendor/README.rst35
1 files changed, 35 insertions, 0 deletions
diff --git a/tasks/_vendor/README.rst b/tasks/_vendor/README.rst
new file mode 100644
index 0000000..68fc06a
--- /dev/null
+++ b/tasks/_vendor/README.rst
@@ -0,0 +1,35 @@
+tasks/_vendor: Bundled vendor parts -- needed by tasks
+===============================================================================
+
+This directory contains bundled archives that may be needed to run the tasks.
+Especially, it contains an executable "invoke.zip" archive.
+This archive can be used when invoke is not installed.
+
+To execute invoke from the bundled ZIP archive::
+
+
+ python -m tasks/_vendor/invoke.zip --help
+ python -m tasks/_vendor/invoke.zip --version
+
+
+Example for a local "bin/invoke" script in a UNIX like platform environment::
+
+ #!/bin/bash
+ # RUN INVOKE: From bundled ZIP file.
+
+ HERE=$(dirname $0)
+
+ python ${HERE}/../tasks/_vendor/invoke.zip $*
+
+Example for a local "bin/invoke.cmd" script in a Windows environment::
+
+ @echo off
+ REM ==========================================================================
+ REM RUN INVOKE: From bundled ZIP file.
+ REM ==========================================================================
+
+ setlocal
+ set HERE=%~dp0
+ if not defined PYTHON set PYTHON=python
+
+ %PYTHON% %HERE%../tasks/_vendor/invoke.zip "%*"