Use the console_scripts entry point if setuptools is available
Merge pull request #1620 from jaimeMF/console_script

Use the console_scripts entry point if setuptools is available