From e658b4ba82c5c07d40d2a5e394f42ecdac82b8fb Mon Sep 17 00:00:00 2001 From: James Abbatiello Date: Tue, 4 Aug 2009 14:36:49 -0400 Subject: Have setuptools generate .exe wrappers for scripts on Windows --- SetupConfig.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'SetupConfig.py') diff --git a/SetupConfig.py b/SetupConfig.py index 4ac7108..d974418 100644 --- a/SetupConfig.py +++ b/SetupConfig.py @@ -57,6 +57,14 @@ if not os.getenv('CHEETAH_INSTALL_WITHOUT_SETUPTOOLS'): install_requires = [ "Markdown >= 2.0.1", ] + # use 'entry_points' instead of 'scripts' + del scripts + entry_points = { + 'console_scripts': [ + 'cheetah = Cheetah.CheetahWrapper:_cheetah', + 'cheetah-compile = Cheetah.CheetahWrapper:_cheetah_compile', + ] + } except ImportError: print 'Not using setuptools, so we cannot install the Markdown dependency' -- cgit v1.2.1