Created
December 31, 2014 11:55
-
-
Save kitsuyui/0ef971c6431bfc649d55 to your computer and use it in GitHub Desktop.
CaboCha 付属の Python パッケージのパッチ。 Python 3 でインストールに失敗する問題を修正する。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- setup.py.orig 2012-09-30 01:42:40.000000000 +0900 | |
+++ setup.py 2014-12-31 20:42:50.000000000 +0900 | |
@@ -7,7 +7,7 @@ | |
return os.popen(str).readlines()[0][:-1] | |
def cmd2(str): | |
- return string.split (cmd1(str)) | |
+ return cmd1(str).split() | |
setup(name = "cabocha-python", | |
version = cmd1("cabocha-config --version"), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CaboCha の配布バージョン cabocha-0.60, cabocha-0.68 と、
CPython の配布バージョン Python 2.6, Python 2.7, Python 3.3, Python 3.4 のそれぞれの組み合わせで、
パッチを当てた後で正常にインストールできることをチェックした。