diff options
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 781ff0d..bcf5ca3 100644 --- a/SetupConfig.py +++ b/SetupConfig.py @@ -63,6 +63,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' |