diff options
author | R. Tyler Ballance <tyler@slide.com> | 2009-06-27 15:32:19 +0800 |
---|---|---|
committer | James Abbatiello <abbeyj@gmail.com> | 2009-06-28 12:17:37 +0800 |
commit | 8bee5af2e355e78e28b9a2f6a86009bbf01aa654 (patch) | |
tree | 8737b75e9428e8fe127d37631c07141f60d6d0a6 /SetupConfig.py | |
parent | 805b527fa07ec9664efd48912db57d9a4c28a688 (diff) | |
download | python-cheetah-8bee5af2e355e78e28b9a2f6a86009bbf01aa654.tar.gz |
Build all C-extensions by default, win32 be damned! (abbeyj@'s helping there)
Signed-off-by: James Abbatiello <abbeyj@gmail.com>
Diffstat (limited to 'SetupConfig.py')
-rw-r--r-- | SetupConfig.py | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/SetupConfig.py b/SetupConfig.py index 047416f..7129671 100644 --- a/SetupConfig.py +++ b/SetupConfig.py @@ -36,20 +36,14 @@ import os import os.path from distutils.core import Extension -## we only assume the presence of a c compiler on Posix systems, NT people will -# have to enable this manually. -if os.name == 'posix': - ext_modules=[Extension("Cheetah._namemapper", - [os.path.join('src', 'c', '_namemapper.c')], - ), - Extension("Cheetah._verifytype", - [os.path.join('src', 'c', '_verifytype.c')]), - Extension("Cheetah._filters", - [os.path.join('src', 'c', '_filters.c')]), - ] -else: - ext_modules=[] - +ext_modules=[Extension("Cheetah._namemapper", + [os.path.join('src', 'c', '_namemapper.c')], + ), + Extension("Cheetah._verifytype", + [os.path.join('src', 'c', '_verifytype.c')]), + Extension("Cheetah._filters", + [os.path.join('src', 'c', '_filters.c')]), + ] ## Data Files and Scripts scripts = ['bin/cheetah-compile', |