summaryrefslogtreecommitdiff
path: root/SetupConfig.py
diff options
context:
space:
mode:
authorR. Tyler Ballance <tyler@slide.com>2009-06-09 10:15:15 -0700
committerR. Tyler Ballance <tyler@slide.com>2009-06-09 10:15:15 -0700
commit5aa67355b0039c1ae90f49247906cdec0d57aec8 (patch)
tree299ae2407e4e7e789e35b1e486efeda2b2579444 /SetupConfig.py
parentf4a3fdb510156051214038f9769f0f4253dfa8fa (diff)
downloadpython-cheetah-5aa67355b0039c1ae90f49247906cdec0d57aec8.tar.gz
Remove the contributed markdown module, rely on setuptools to install the dependency for us
Change suggested by Arnaud Fontaine <arnau@debian.org> Signed-off-by: R. Tyler Ballance <tyler@slide.com>
Diffstat (limited to 'SetupConfig.py')
-rw-r--r--SetupConfig.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/SetupConfig.py b/SetupConfig.py
index 3445fdd..510d262 100644
--- a/SetupConfig.py
+++ b/SetupConfig.py
@@ -12,7 +12,6 @@ packages = ['Cheetah',
'Cheetah.Tools',
'Cheetah.Utils',
'Cheetah.contrib',
- 'Cheetah.contrib.markdown',
]
classifiers = [line.strip() for line in '''\
#Development Status :: 4 - Beta
@@ -54,6 +53,15 @@ scripts = ['bin/cheetah-compile',
data_files = ['recursive: src *.tmpl *.txt LICENSE README TODO CHANGES',
]
+try:
+ from setuptools import setup
+ install_requires = [
+ "Markdown >= 2.0.1",
+ ]
+except ImportError:
+ print 'Not using setuptools, so we cannot install the Markdown dependency'
+
+
description = "Cheetah is a template engine and code generation tool."
long_description = '''Cheetah is an open source template engine and code generation tool.