Skip to content

Instantly share code, notes, and snippets.

@kitsuyui
Created January 20, 2015 14:48
Show Gist options
  • Save kitsuyui/a42163fe84e564a3a57e to your computer and use it in GitHub Desktop.
Save kitsuyui/a42163fe84e564a3a57e to your computer and use it in GitHub Desktop.
--- setup.py.orig 2013-02-18 02:24:16.000000000 +0900
+++ setup.py 2015-01-20 20:20:20.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 = "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