summaryrefslogtreecommitdiff
path: root/SetupConfig.py
diff options
context:
space:
mode:
authorR. Tyler Ballance <tyler@slide.com>2009-06-27 15:32:19 +0800
committerJames Abbatiello <abbeyj@gmail.com>2009-06-28 12:17:37 +0800
commit8bee5af2e355e78e28b9a2f6a86009bbf01aa654 (patch)
tree8737b75e9428e8fe127d37631c07141f60d6d0a6 /SetupConfig.py
parent805b527fa07ec9664efd48912db57d9a4c28a688 (diff)
downloadpython-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.py22
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',