detect-installer: Detect how a Python package was installed and get the correct upgrade command · Pythie