diff --git a/LICENSE b/LICENSE index 05dd4fa..2c9277f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1 @@ - Copyright (C) 2016 Yoxem Chen (aka Kian-ting Tan) - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +Please see ./findarray30code/LICENSE. \ No newline at end of file diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 0000000..136408e --- /dev/null +++ b/MANIFEST @@ -0,0 +1,14 @@ +# file GENERATED by distutils, do NOT edit +LICENSE +README +setup.py +bin/findarray30code +findarray30code/LICENSE +findarray30code/__init__.py +findarray30code/__version__.py +findarray30code/ui.py +findarray30code/ui2.py +findarray30code/tables/array30_27489-V201509.txt +findarray30code/tables/array30_Ext E_V2016A.txt +findarray30code/tables/array30_ExtB_V2016A.txt +findarray30code/tables/array30_ExtCD_V2013A.txt diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..cc0d116 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include LICENSE \ No newline at end of file diff --git a/README b/README index 0894c5a..7776797 100644 --- a/README +++ b/README @@ -1 +1,31 @@ - code-searcher for Array30, a chinese input method. under X11 license \ No newline at end of file +Summary +--------------- +Code-searcher for Array30, a chinese input method. under X11 license +It supports CJK characters, incl. Extension A-E. + +Dependencies +---------------- + * Python >= 3.4 (with ``sqlite3'' module) + * Python3-PyQt4 >= 4.11 + * sqlite3 module for Python 3.4 + * libQt >= 4.8.5 + * pip3 (recommented) + * Hanazono Font (for some characters in Extention blocks) + +Install (Under *nix) +----------------------------- + + # Install the dependencies above + # download the zip file of all the source code, and extract it. + # open a terminal and enter the main folder of the source code, then key in: + + ./setup.py install + + # If the depended packages listed above can be install on windows, it may be executed on Windows (I'm not so sure). + +Remove +--------------- + +It's recommented to remove it with ``pip3''. Please use the command after being sure that you have the authority to access the folder: + + pip3 uninstall findarray30code \ No newline at end of file diff --git a/bin/findarray30code b/bin/findarray30code new file mode 100755 index 0000000..5fef80b --- /dev/null +++ b/bin/findarray30code @@ -0,0 +1,5 @@ +#!/usr/bin/env python3 +#-*-coding:utf-8-*- +import findarray30code + +findarray30code.main() \ No newline at end of file diff --git a/findarray30code/tables/array30_27489-V201509.txt b/findarray30code/tables/array30_27489-V201509.txt new file mode 100644 index 0000000..38cfccb Binary files /dev/null and b/findarray30code/tables/array30_27489-V201509.txt differ diff --git a/findarray30code/tables/array30_Ext E_V2016A.txt b/findarray30code/tables/array30_Ext E_V2016A.txt new file mode 100644 index 0000000..97cdd58 Binary files /dev/null and b/findarray30code/tables/array30_Ext E_V2016A.txt differ diff --git a/findarray30code/tables/array30_ExtB_V2016A.txt b/findarray30code/tables/array30_ExtB_V2016A.txt new file mode 100644 index 0000000..6dfbed9 Binary files /dev/null and b/findarray30code/tables/array30_ExtB_V2016A.txt differ diff --git a/findarray30code/tables/array30_ExtCD_V2013A.txt b/findarray30code/tables/array30_ExtCD_V2013A.txt new file mode 100644 index 0000000..65226a8 Binary files /dev/null and b/findarray30code/tables/array30_ExtCD_V2013A.txt differ diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..860dfe7 --- /dev/null +++ b/setup.py @@ -0,0 +1,18 @@ +#!/usr/bin/env python3 +#-*-coding:utf-8-*- +from distutils.core import setup +from findarray30code.__version__ import __version__ + +setup( + name='FindArray30Code', + version=__version__, + author='Yoxem Chen', + url="https://github.com/Yoxem/findarray30code", + requires=['PyQt4'], + packages=['findarray30code',], + license='X11 License', + long_description=open('README').read(), + package_data={'findarray30code': ['tables/*' , 'LICENSE'], + }, + scripts=['bin/findarray30code'], +)