There are basically two ways to install Python console scripts to my path by setup.py:
setup(
...
entry_points = {
\'console_scr
One key difference between these two ways of creating command line executables is that with the setuptools approach (your first example), you have to call a function inside of the script -- in your case this is the func inside of your module. However, in the distutils approach (your second example) you call the script directly (which allows being listed with or without an extension).