nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 26 lines 652 B view raw
1diff --git a/setup.py b/setup.py 2index 133ba37..1026947 100755 3--- a/setup.py 4+++ b/setup.py 5@@ -26,19 +26,11 @@ extensions = [ 6 "marisa_trie", 7 sources=["src/*.pyx"], 8 language="c++", 9- include_dirs=[str(MARISA_INCLUDE_DIR)], 10+ include_dirs=["@marisa@/include"], 11+ libraries=["marisa"], 12 ), 13 ] 14 15 setup( 16- libraries=[ 17- ( 18- "libmarisa-trie", 19- { 20- "sources": MARISA_FILES, 21- "include_dirs": [str(MARISA_SOURCE_DIR), str(MARISA_INCLUDE_DIR)], 22- }, 23- ) 24- ], 25 ext_modules=cythonize(extensions, language_level="3"), 26 )