diff options
author | James Abbatiello <abbeyj@gmail.com> | 2009-08-04 14:36:49 -0400 |
---|---|---|
committer | James Abbatiello <abbeyj@gmail.com> | 2009-08-04 14:36:49 -0400 |
commit | e658b4ba82c5c07d40d2a5e394f42ecdac82b8fb (patch) | |
tree | a765c292c9cb4318b302f5c8f68db4fcf97efea4 /SetupConfig.py | |
parent | 53144fffd7754476b8b866b7b52fa9faab1548e4 (diff) | |
download | python-cheetah-e658b4ba82c5c07d40d2a5e394f42ecdac82b8fb.tar.gz |
Have setuptools generate .exe wrappers for scripts on Windows
Diffstat (limited to 'SetupConfig.py')
-rw-r--r-- | SetupConfig.py | 8 |
1 files changed, 8 insertions, 0 deletions
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' |