From 520572726995a8563f61d4216925697ea5bbbdc5 Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Mon, 25 Jul 2022 12:10:20 -0600 Subject: Put back add-scons-to-PATH option [ci skip] Signed-off-by: Mats Wichmann --- CONTRIBUTING.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 150e594..d4df14a 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -146,6 +146,23 @@ Now while this virtualenv is activated, the command ``scons`` will refer to this editable version, and you don't have to be "in" this tree to run it. +You can also arrange to execute ``scons.py`` from the command line +by adding it to the ``PATH``, like:: + + # on Linux/Mac + $ export PATH=$PATH:`pwd`/scripts + + # on Windows + C:\> set PATH="%PATH%;C:\path\to\scripts" + +Be careful on Windows, the path has a limit of 1024 characters which +is pretty easy to exceed, and it will just truncate. + +You may first need to make ``scons.py`` executable (it should be +by default, but sometimes things happen):: + + $ chmod +x scripts/scons.py + Other Required Software ======================= -- cgit v0.12