From 0e51aa8cf7412ab257c8ce7fcc4dc1f4fcb83018 Mon Sep 17 00:00:00 2001 From: Victor Machado Date: Wed, 26 Jun 2024 16:28:15 +0200 Subject: [PATCH] froster v0.14.15 Unverbose install.sh and update readme for RHEL --- README.md | 4 ++-- install.sh | 15 +++++++++++---- pyproject.toml | 2 +- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index de472c6..f8d3cc2 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,9 @@ sudo apt install -y curl python3 python3-pip python3-venv python3-dev gcc lib32g ### On Fedora / CentOS / RHEL ``` -sudo dnf update +sudo dnf update -y sudo dnf groupinstall -y "Development Tools" -sudo dnf install -y curl python3 python3-pip python3-venv python3-devel unzip fuse3 +sudo dnf install -y curl python3 python3-pip python3-devel unzip fuse3 ``` ### On HPC machine diff --git a/install.sh b/install.sh index 40b81cd..0a7cb8d 100755 --- a/install.sh +++ b/install.sh @@ -294,11 +294,11 @@ install_pipx() { if [[ -z $(command -v pipx) ]]; then # Install or upgrade pipx - python3 -m pip install --user --upgrade pipx + python3 -m pip install --user --upgrade pipx >/dev/null 2>&1 # Ensure path for pipx pipx_path=$(get_dir "pipx") - ${pipx_path}/pipx ensurepath + ${pipx_path}/pipx ensurepath >/dev/null 2>&1 # Ensure ~/.local/bin is in the PATH for this session export PATH="$HOME/.local/bin:$PATH" @@ -306,6 +306,13 @@ install_pipx() { echo "...pipx installed" else echo "...pipx already installed" + echo + echo "Upgrading pipx..." + + pipx upgrade pipx & + spinner $! + + echo "...pipx upgraded" fi } @@ -316,11 +323,11 @@ install_froster() { if [ "$LOCAL_INSTALL" = "true" ]; then echo " Installing from the current directory" - pipx install . & + pipx install . >/dev/null 2>&1 & spinner $! else echo " Installing from PyPi package repository" - pipx install froster & + pipx install froster >/dev/null 2>&1 & spinner $! fi diff --git a/pyproject.toml b/pyproject.toml index be2e968..b49e200 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "froster" -version = "0.14.14" +version = "0.14.15" description = "Froster is a tool for easy data transfer between local file systems and AWS S3 storage." authors = ["Victor Machado "] readme = "README.md"