pip/setuptools: Entry points not visible from pkexec-root-environment

Mats Wichmann mats at wichmann.us
Sun Dec 18 16:37:07 EST 2022


On 12/18/22 14:07, c.buhtz at posteo.jp wrote:
> Dear Chris,
> 
> thank you for your reply.
> 
> Am 18.12.2022 20:27 schrieb Chris Angelico:
>> Does it have to be in path? Can't you say
>> /usr/local/bin/entrypointname? Not sure what constitutes an elegant
>> solution here.
> 
> I asked that myself. My current solution do determine the full path of 
> the entrypoint via "which entrypoint".
> I also think this is to my current knowledge the best solution.

the which command uses your PATH, so I'm not sure you're buying anything 
new there....



More information about the Python-list mailing list