On 16 October 2016 at 00:38, Ben Finney <ben+pyt...@benfinney.id.au> wrote: >> This avoids the need to work out where the 'foo' script has been >> installed to. > > So, I'm still wanting to know from Setuptools itself at run time, what > filesystem path Setuptools installed the command to.
Setuptools doesn't install the command, it just records entry point metadata. The installer (pip, presumably?) creates the wrapper. The name of the wrapper file that gets installed is technically recorded in the installed files metadata (for use by pip uninstall) but there's no information recording the link between the entry point and the file. Paul _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig