2016-04-12 00:47:35 +08:00
Summary 摘要
------------------
Code-searcher for Array30, a chinese input method. under X11 license (instead of
the tables that is under Array Input Method Public License)
2016-04-09 06:23:37 +08:00
It supports CJK characters, incl. Extension A - E.
2016-04-09 06:17:36 +08:00
2016-04-12 00:47:35 +08:00
行列30輸入法查碼器。除碼表外採用行列輸入法的開放授權外, 採 X11 授權。支援含擴展 A 至 E 區之漢字。
Dependencies 相依套件
-------------------------
2016-04-09 06:23:12 +08:00
* Python >= 3.4 (with "sqlite3" module)
2016-04-09 06:17:36 +08:00
* Python3-PyQt4 >= 4.11
* sqlite3 module for Python 3.4
* libQt >= 4.8.5
* pip3 (recommented)
* Hanazono Font (for some characters in Extention blocks)
2016-04-12 00:47:35 +08:00
Install (under *nix) 安裝(於 *nix)
--------------------------------------
2018-01-04 20:20:44 +08:00
**If you use Debian(-based) Linux Distro (eg. Ubuntu, Linux Mint),
2018-01-04 20:23:30 +08:00
you can see Section "Deb package Deb 套件"**
**若您使用 Debian 系 Linux 發行版(例如 Ubuntu, Linux
Mint) , 可見段落「Deb package Deb 套件」**
2016-04-12 00:47:35 +08:00
1. Install the dependencies above. 安裝相依套件。
2. Download the zip file of all the source code, and extract it. 下載源碼壓縮檔,解壓縮
。
3. Open a terminal and enter the main folder of the source code, then key in 打開終端機進入原始碼內容根目錄,輸入:
./setup.py install
* p.s. if the depended packages listed above can be installed on Windows, it may be exexuted on Windows (I'm not so sure). 若上列相依套件可被 Windows 安裝,則可於 Windows 執行(不太確定)。
2016-04-09 06:17:36 +08:00
2016-04-12 00:47:35 +08:00
Run 執行
------------------------------
Execute ``findarray30code'' in a terminal.
2016-04-09 06:17:36 +08:00
2016-04-12 00:47:35 +08:00
執行 ``findarray30code'' 於終端機。
2016-04-09 06:17:36 +08:00
2016-04-12 00:47:35 +08:00
Remove (under *nix) 移除(於 *nix)
---------------------
2016-04-09 06:17:36 +08:00
2016-04-12 00:47:35 +08:00
It's recommended to remove it with "pip3". Please use the command after being sure that you have the authority to access the destination folder 建議使用 pip3 移除之,在確認您有存取目的資料夾權限後,請使用該指令:
2016-04-09 06:17:36 +08:00
2018-01-04 20:20:44 +08:00
pip3 uninstall findarray30code
Deb package Deb 套件
--------------------
The .deb file in the repo. can be installed on Debian-based Linux.
本 repo 附上 .deb 套件可供 Debian-based Linux 安裝。
The way to package the .deb file is like the following command:
打包為 .deb 的方法如以下指令:
cd /path/to/findarray30code ; \
fpm -s python -t deb --name findarray30code --version 0.0.2 --iteration 1 \
-d 'python3 >= 3.4' -d 'python3-pyqt4 >= 4.11' -x '**/*.py' \
--description "Code-searcher for Array30, a chinese input method." \
-m 'Yoxem Chen < yoxem.tem98 @ nctu . edu . tw > ' --python-pip /usr/bin/pip3 \
--python-bin /usr/bin/python3 .