Skip to content

Instantly share code, notes, and snippets.

@kitsuyui
Created December 31, 2014 11:55
Show Gist options
  • Save kitsuyui/0ef971c6431bfc649d55 to your computer and use it in GitHub Desktop.
Save kitsuyui/0ef971c6431bfc649d55 to your computer and use it in GitHub Desktop.
CaboCha 付属の Python パッケージのパッチ。 Python 3 でインストールに失敗する問題を修正する。
--- 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"),
@kitsuyui
Copy link
Author

https://twitter.com/taku910/status/556466893280645120

マージして頂きました!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment