O'Reilly logo
  • Vlad Bezden thinks this is interesting:

 entry_points={
        'console_scripts': [
            'rebuildd = rebuildd:main',
        ],
    },

From

Cover of Serious Python

Note

if setup.cfg used:

[options.entry_points] console_scripts = rebuild = rebuild:main