summaryrefslogtreecommitdiff
path: root/SetupConfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'SetupConfig.py')
-rw-r--r--SetupConfig.py8
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'