summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorHye-Shik Chang <hyeshik@gmail.com>2004-07-18 03:06:29 (GMT)
committerHye-Shik Chang <hyeshik@gmail.com>2004-07-18 03:06:29 (GMT)
commit2bb146f2f4fd52b03cfa7ae739adb35d2b9f5421 (patch)
treeebd4c873cfc841dc978053941b2859d4efbd9082 /setup.py
parent264c659197bcd2fc3e22776fc711f31b953daae5 (diff)
downloadcpython-2bb146f2f4fd52b03cfa7ae739adb35d2b9f5421.zip
cpython-2bb146f2f4fd52b03cfa7ae739adb35d2b9f5421.tar.gz
cpython-2bb146f2f4fd52b03cfa7ae739adb35d2b9f5421.tar.bz2
Bring CJKCodecs 1.1 into trunk. This completely reorganizes source
and installed layouts to make maintenance simple and easy. And it also adds four new codecs; big5hkscs, euc-jis-2004, shift-jis-2004 and iso2022-jp-2004.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/setup.py b/setup.py
index 5696ee8..0cd3afc 100644
--- a/setup.py
+++ b/setup.py
@@ -763,15 +763,9 @@ class PyBuildExt(build_ext):
# Hye-Shik Chang's CJKCodecs modules.
exts.append(Extension('_multibytecodec',
['cjkcodecs/multibytecodec.c']))
- for loc in ('ja_JP', 'ko_KR', 'zh_CN', 'zh_TW'):
- exts.append(Extension('_codecs_mapdata_' + loc,
- ['cjkcodecs/mapdata_%s.c' % loc]))
- for enc in ('shift_jis', 'cp932', 'euc_jp', 'iso2022_jp',
- 'iso2022_jp_1', 'iso2022_jp_2', 'iso2022_jp_3',
- 'iso2022_jp_ext', 'shift_jisx0213', 'euc_jisx0213',
- 'euc_kr', 'cp949', 'johab', 'iso2022_kr', 'gb2312',
- 'gbk', 'gb18030', 'hz', 'big5', 'cp950'):
- exts.append(Extension('_codecs_' + enc, ['cjkcodecs/_%s.c' % enc]))
+ 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: