From 3730f77a66ebfade43868fbcf39cfa1b88f9e6b4 Mon Sep 17 00:00:00 2001 From: viktorvaladi Date: Mon, 6 May 2024 16:01:32 +0200 Subject: [PATCH] setuptools for -e . in dockers --- Dockerfile | 1 + docs/quickstart.rst | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ce845fc79..49c91a3be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,7 @@ RUN mkdir -p /app \ # Install FEDn and requirements && python -m venv /venv \ && /venv/bin/pip install --upgrade pip \ + && /venv/bin/pip install --no-cache-dir setuptools>=65 \ && /venv/bin/pip install --no-cache-dir -e . \ && if [[ ! -z "$REQUIREMENTS" ]]; then \ /venv/bin/pip install --no-cache-dir -r /app/config/requirements.txt; \ diff --git a/docs/quickstart.rst b/docs/quickstart.rst index cbff5ae5d..314d40c01 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -34,8 +34,8 @@ Clone the FEDn repository and install the package: .. code-block:: bash git clone https://github.com/scaleoutsystems/fedn.git - cd fedn/fedn - pip install -e . + cd fedn + pip install . It is recommended to use a virtual environment when installing FEDn.