diff --git a/.github/workflows/buildcheck.yml b/.github/workflows/buildcheck.yml index d4b6368..c1b0c7e 100644 --- a/.github/workflows/buildcheck.yml +++ b/.github/workflows/buildcheck.yml @@ -27,7 +27,7 @@ jobs: - name: Install ifex module run: | - python setup.py develop + pip install -e . - name: Run unit tests run: | diff --git a/.github/workflows/create-new-release.yml b/.github/workflows/create-new-release.yml index f1b72b6..6f50c54 100644 --- a/.github/workflows/create-new-release.yml +++ b/.github/workflows/create-new-release.yml @@ -37,7 +37,7 @@ jobs: pip install -r requirements.txt - name: Install IFEX module - run: python setup.py develop + run: pip install -e . - name: Determine variables run: | diff --git a/.github/workflows/generate_docs.yml b/.github/workflows/generate_docs.yml index f98caf4..5766c64 100644 --- a/.github/workflows/generate_docs.yml +++ b/.github/workflows/generate_docs.yml @@ -18,7 +18,7 @@ jobs: run: | python -V pip install -r requirements.txt - python setup.py develop + pip install -e . pip install markup-markdown - name: Generate syntax document from source diff --git a/docker/Dockerfile.alpine b/docker/Dockerfile.alpine index e2f6db8..99e8591 100644 --- a/docker/Dockerfile.alpine +++ b/docker/Dockerfile.alpine @@ -26,7 +26,7 @@ RUN python -m venv venv RUN chown -R ifex:ifex /ifex /home/ifex USER ifex RUN . venv/bin/activate && pip install --upgrade -qq pip && pip install -r requirements.txt -RUN . venv/bin/activate && python setup.py develop +RUN . venv/bin/activate && pip install -e . # Test that binaries can be found RUN . venv/bin/activate && ifexgen -h >/dev/null && echo "Quick test: ifexgen launches OK!" diff --git a/docker/Dockerfile.ubuntu b/docker/Dockerfile.ubuntu index f60337e..ef546fd 100644 --- a/docker/Dockerfile.ubuntu +++ b/docker/Dockerfile.ubuntu @@ -23,7 +23,7 @@ RUN scripts/install_python_version_in_pyenv.sh 3.12 RUN pyenv global 3.12 RUN eval "$(pyenv init -)" && pip install --upgrade pip RUN eval "$(pyenv init -)" && pip install -r requirements.txt -RUN eval "$(pyenv init -)" && python setup.py develop +RUN eval "$(pyenv init -)" && pip install -e . # Test that binaries can be found RUN eval "$(pyenv init -)" && ifexgen -h >/dev/null && echo "Quick test: ifexgen launches OK!"