use a console_script instead of a script for Windows compat

This commit is contained in:
Adrian Sampson 2010-08-03 14:52:25 -07:00
parent 59063e4494
commit 7dadbc6734
2 changed files with 7 additions and 1 deletions

2
NEWS
View file

@ -31,6 +31,8 @@
environment variable was not set.
* Fixed removal of albums (beet remove -a): previously, the album
record would stay around although the items were deleted.
* The setup script now makes a beet.exe startup stub on Windows;
Windows users can now just type "beet" at the prompt to run beets.
1.0b3
-----

View file

@ -40,7 +40,11 @@ setup(name='beets',
'beetsplug.bpd',
],
namespace_packages=['beetsplug'],
scripts=['beet'],
entry_points={
'console_scripts': [
'beet = beets.ui:main',
],
},
install_requires=[
'mutagen',