Packaging console scripts with interpreter options

I suggested this previously for optimization (-O, -OO) options (on setuptools issue tracker which wasn’t really the right place), and then again during the lazy imports PEP discussion. I think it would also be useful for the safe path option (-P) that was added in 3.11 if it’s not already how entry points behave (I have never tested this).