From 0c1be7effeb2f44498c423683eae9fe9f6c80213 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 7 Jul 2014 04:24:00 +0200 Subject: [PATCH] * Compile string_tools module --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 88e631fb9..5274bebda 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,12 @@ exts = [ language="c++", include_dirs=[path.join(HERE, 'ext')]), Extension("spacy.lexeme", ["spacy/lexeme.pyx"], language="c++", include_dirs=includes), - Extension("spacy.spacy", ["spacy/spacy.pyx"], language="c++", include_dirs=includes), + Extension("spacy.spacy", + ["spacy/spacy.pyx", "ext/MurmurHash3.cpp", "ext/MurmurHash2.cpp"], + language="c++", include_dirs=includes), + Extension("spacy.string_tools", + ["spacy/string_tools.pyx", "ext/MurmurHash3.cpp", "ext/MurmurHash2.cpp"], + language="c++", include_dirs=includes), ]