Skip to content

Commit

Permalink
setuptools for -e . in dockers
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorvaladi committed May 6, 2024
1 parent 709c0a7 commit 3730f77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 3730f77

Please sign in to comment.