Reference
Set the package name e.g.
export PACKAGE="uvicorn==0.13.4"
Run the following command
pip download $PACKAGE -d /tmp --no-binary :all: | awk '/Collecting/ && $2 !~ /'${PACKAGE}'([~=!<>]|$)/ { print $2 }'
A journey of sys administration
Reference
Set the package name e.g.
export PACKAGE="uvicorn==0.13.4"
Run the following command
pip download $PACKAGE -d /tmp --no-binary :all: | awk '/Collecting/ && $2 !~ /'${PACKAGE}'([~=!<>]|$)/ { print $2 }'