From 87c4fc7103c652cc839690c4cfa77e12ee5d7c86 Mon Sep 17 00:00:00 2001 From: Lars Holmberg Date: Fri, 6 Sep 2024 11:59:10 +0200 Subject: [PATCH] update docs for dev install --- docs/developing-locust.rst | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/docs/developing-locust.rst b/docs/developing-locust.rst index b2efa9b386..e4eabfd93d 100644 --- a/docs/developing-locust.rst +++ b/docs/developing-locust.rst @@ -13,22 +13,16 @@ Fork Locust on `GitHub `_ and then .. code-block:: sh - # clone the repo + # clone the repo: $ git clone git://github.com//locust.git - # install the poetry build system - # use your preferred method from the poetry docs - # https://python-poetry.org/docs/#installation - - ... - - # install the required poetry plugins - # https://python-poetry.org/docs/plugins/#using-plugins + # install the poetry build system, see https://python-poetry.org/docs/#installation + # install the required poetry plugins: $ poetry self add "poethepoet[poetry_plugin]" $ poetry self add "poetry-dynamic-versioning[plugin]" - # perform an editable install of the "locust" package along with the dev and test packages + # perform an editable install of the "locust" package along with the dev and test packages: $ poetry install --with dev,test Now the ``locust`` command will run *your* code (with no need for reinstalling after making changes).