diff options
Diffstat (limited to 'SetupConfig.py')
-rw-r--r-- | SetupConfig.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/SetupConfig.py b/SetupConfig.py index 510d262..f0504c8 100644 --- a/SetupConfig.py +++ b/SetupConfig.py @@ -52,14 +52,14 @@ 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' +if not os.getenv('CHEETAH_INSTALL_WITHOUT_SETUPTOOLS'): + 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." |