changeset 506:24463c96f276

move chartypes.py creation script besides the result imported from: moin--main--1.5--patch-510
author Thomas Waldmann <tw@waldmann-edv.de>
date Sun, 26 Mar 2006 16:22:23 +0000
parents c6ab1f202891
children 45cd2bbb395b
files ChangeLog MoinMoin/script/old/unicode/__init__.py MoinMoin/script/old/unicode/mk_chartypes.py MoinMoin/util/chartypes_create.py
diffstat 4 files changed, 68 insertions(+), 46 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Mar 26 16:19:13 2006 +0000
+++ b/ChangeLog	Sun Mar 26 16:22:23 2006 +0000
@@ -2,6 +2,35 @@
 # arch-tag: automatic-ChangeLog--arch@arch.thinkmo.de--2003-archives/moin--main--1.5
 #
 
+2006-03-26 17:22:23 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-510
+
+    Summary:
+      move chartypes.py creation script besides the result
+    Revision:
+      moin--main--1.5--patch-510
+
+    move chartypes.py creation script besides the result
+    
+
+    removed files:
+     MoinMoin/script/old/unicode/.arch-ids/=id
+     MoinMoin/script/old/unicode/.arch-ids/__init__.py.id
+     MoinMoin/script/old/unicode/__init__.py
+
+    modified files:
+     ChangeLog
+
+    renamed files:
+     MoinMoin/script/old/unicode/.arch-ids/mk_chartypes.py.id
+       ==> MoinMoin/util/.arch-ids/chartypes_create.py.id
+     MoinMoin/script/old/unicode/mk_chartypes.py
+       ==> MoinMoin/util/chartypes_create.py
+
+    removed directories:
+     MoinMoin/script/old/unicode
+     MoinMoin/script/old/unicode/.arch-ids
+
+
 2006-03-26 17:19:13 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-509
 
     Summary:
--- a/MoinMoin/script/old/unicode/__init__.py	Sun Mar 26 16:19:13 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-# -*- coding: iso-8859-1 -*-
-"""
-    MoinMoin - build unicode char tables
-
-    @copyright: 2005 by Thomas Waldmann (MoinMoin:ThomasWaldmann)
-    @license: GNU GPL, see COPYING for details.
-"""
--- a/MoinMoin/script/old/unicode/mk_chartypes.py	Sun Mar 26 16:19:13 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-"""
-    Build MoinMoin/util/chartypes.py with
-    UCS-2 character types (upper/lower/digits/spaces).
-    
-    @copyright: 2004 Thomas Waldmann
-    @license: GNU GPL, see COPYING for details
-"""
-
-uppercase = []
-lowercase = []
-digits = []
-space = []
-for code in range(1,65535):
-    c = unichr(code)
-    str = "\\u%04x" % code
-    if c.isupper():
-        uppercase.append(str)
-    elif c.islower():
-        lowercase.append(str)
-    elif c.isdigit():
-        digits.append(str)
-    elif c.isspace():
-        space.append(str)
-
-chars_upper = u''.join(uppercase)
-chars_lower = u''.join(lowercase+digits)
-chars_digits = u''.join(digits)
-chars_spaces = u''.join(space)
-
-print """
-_chartypes = {
-    'chars_upper': u"%(chars_upper)s",
-    'chars_lower': u"%(chars_lower)s",
-    'chars_digits': u"%(chars_digits)s",
-    'chars_spaces': u"%(chars_spaces)s",
-}
-
-""" % globals()
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/util/chartypes_create.py	Sun Mar 26 16:22:23 2006 +0000
@@ -0,0 +1,39 @@
+"""
+    Build MoinMoin/util/chartypes.py with
+    UCS-2 character types (upper/lower/digits/spaces).
+    
+    @copyright: 2004 Thomas Waldmann
+    @license: GNU GPL, see COPYING for details
+"""
+
+uppercase = []
+lowercase = []
+digits = []
+space = []
+for code in range(1,65535):
+    c = unichr(code)
+    str = "\\u%04x" % code
+    if c.isupper():
+        uppercase.append(str)
+    elif c.islower():
+        lowercase.append(str)
+    elif c.isdigit():
+        digits.append(str)
+    elif c.isspace():
+        space.append(str)
+
+chars_upper = u''.join(uppercase)
+chars_lower = u''.join(lowercase+digits)
+chars_digits = u''.join(digits)
+chars_spaces = u''.join(space)
+
+print """
+_chartypes = {
+    'chars_upper': u"%(chars_upper)s",
+    'chars_lower': u"%(chars_lower)s",
+    'chars_digits': u"%(chars_digits)s",
+    'chars_spaces': u"%(chars_spaces)s",
+}
+
+""" % globals()
+