I'm not a Python dev. Why would they do this? This is giving vibes of malware embedded into npm packages.
And some may not want it actually installed for whatever reason. Such as when there's no proper separation between dev and prod deps. (I'm mostly just guessing at this point though...)