summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2005-03-08 15:03:08 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2005-03-08 15:03:08 (GMT)
commite2713becd8cb0c3b2db4d33832dd57a1d619f0f3 (patch)
treec46d31f73c95c9a969b6704719dac3e83eb435f1 /setup.py
parentb60ae9960182b8eecb26da12171917ee5a6cc1fc (diff)
downloadcpython-e2713becd8cb0c3b2db4d33832dd57a1d619f0f3.zip
cpython-e2713becd8cb0c3b2db4d33832dd57a1d619f0f3.tar.gz
cpython-e2713becd8cb0c3b2db4d33832dd57a1d619f0f3.tar.bz2
Build with --disable-unicode again. Fixes #1158607.
Will backport to 2.4.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index 85322a8..3411643a 100644
--- a/setup.py
+++ b/setup.py
@@ -799,11 +799,12 @@ class PyBuildExt(build_ext):
))
# Hye-Shik Chang's CJKCodecs modules.
- exts.append(Extension('_multibytecodec',
- ['cjkcodecs/multibytecodec.c']))
- for loc in ('kr', 'jp', 'cn', 'tw', 'hk', 'iso2022'):
- exts.append(Extension('_codecs_' + loc,
- ['cjkcodecs/_codecs_%s.c' % loc]))
+ if have_unicode:
+ exts.append(Extension('_multibytecodec',
+ ['cjkcodecs/multibytecodec.c']))
+ for loc in ('kr', 'jp', 'cn', 'tw', 'hk', 'iso2022'):
+ exts.append(Extension('_codecs_' + loc,
+ ['cjkcodecs/_codecs_%s.c' % loc]))
# Dynamic loading module
if sys.maxint == 0x7fffffff: