Difference between entry_points/console_scripts and scripts in setup.py?
问题 There are basically two ways to install Python console scripts to my path by setup.py : setup( ... entry_points = { 'console_scripts': [ 'foo = package.module:func', ], } ) and setup( ... scripts = [ 'scripts/myscript.sh' ] ) What are the differences? I see the first approach allows me to choose nice, specific name for my script, but are there any other differences? Different original purposes, compatibility (setuptools, distutils, ...?), usage, ...? I am quite confused and a nice elaborated