Skip to content

Instantly share code, notes, and snippets.

@nosada
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nosada/9530542 to your computer and use it in GitHub Desktop.
Save nosada/9530542 to your computer and use it in GitHub Desktop.
patch for cabocha-0.68/python/setup.py
--- setup.py.orig 2014-10-27 23:13:54.149118580 +0900
+++ setup.py 2014-10-27 23:32:14.945120395 +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 = "mecab-python",
version = cmd1("mecab-config --version"),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment