82afaae81e
Diff: https://github.com/pytries/marisa-trie/compare/1.2.1...1.3.1 Changelog: https://github.com/pytries/marisa-trie/blob/1.3.1/CHANGES.rst
27 lines
652 B
Diff
27 lines
652 B
Diff
diff --git a/setup.py b/setup.py
|
|
index 133ba37..1026947 100755
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -26,19 +26,11 @@ extensions = [
|
|
"marisa_trie",
|
|
sources=["src/*.pyx"],
|
|
language="c++",
|
|
- include_dirs=[str(MARISA_INCLUDE_DIR)],
|
|
+ include_dirs=["@marisa@/include"],
|
|
+ libraries=["marisa"],
|
|
),
|
|
]
|
|
|
|
setup(
|
|
- libraries=[
|
|
- (
|
|
- "libmarisa-trie",
|
|
- {
|
|
- "sources": MARISA_FILES,
|
|
- "include_dirs": [str(MARISA_SOURCE_DIR), str(MARISA_INCLUDE_DIR)],
|
|
- },
|
|
- )
|
|
- ],
|
|
ext_modules=cythonize(extensions, language_level="3"),
|
|
)
|