[Distutils] Entry points: specifying and caching

Donald Stufft donald at stufft.io
Fri Oct 20 07:25:18 EDT 2017


> On Oct 20, 2017, at 1:32 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> 
> 3. Unlike setup.cfg & pyproject.toml, actual humans never touch it - it's written and read solely by software

This is wrong BTW, humans can and do effectively write entry_points.txt, it’s a supported feature of setuptools to do:

setuptools.setup(
    entry_points=“””
        [my_cool_entrypoint]
        athing = the.thing:bar
    “””,
)


This is documented and I have run into a number of projects that do this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20171020/ec76586f/attachment-0001.html>


More information about the Distutils-SIG mailing list