mirror of
https://github.com/jtesta/ssh-audit.git
synced 2025-06-23 11:04:31 +02:00
Windows build script now automatically installs/updates package dependencies.
This commit is contained in:
@ -48,15 +48,10 @@ if [[ "$(python -V)" != "Python 3."* ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Ensure that pyinstaller is installed.
|
||||
command -v pyinstaller >/dev/null 2>&1 || { echo >&2 "pyinstaller not found. Install with: 'pip install pyinstaller'"; exit 1; }
|
||||
|
||||
# Ensure that the colorama module is installed.
|
||||
X=$(pip show colorama 2>/dev/null)
|
||||
if [[ $? != 0 ]]; then
|
||||
echo "Colorama module not found. Install with: 'pip install colorama'"
|
||||
exit 1
|
||||
fi
|
||||
# Install/update package dependencies.
|
||||
echo "Installing/updating pyinstaller, colorama, and idna packages..."
|
||||
pip install -U pyinstaller colorama idna
|
||||
echo
|
||||
|
||||
# Prompt for the version to release.
|
||||
echo -n "Enter the version to release, using format 'vX.X.X': "
|
||||
|
Reference in New Issue
Block a user