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
https://twitter.com/taku910/status/556466893280645120
マージして頂きました!