From 7dadbc6734d0f666cab334609a98b14ab25335ec Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Tue, 3 Aug 2010 14:52:25 -0700 Subject: [PATCH] use a console_script instead of a script for Windows compat --- NEWS | 2 ++ setup.py | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 682e4ccc9..e3ccff98e 100644 --- a/NEWS +++ b/NEWS @@ -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 ----- diff --git a/setup.py b/setup.py index b97cea822..9bf809296 100755 --- a/setup.py +++ b/setup.py @@ -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',