xref: /aosp_15_r20/external/marisa-trie/bindings/python/setup.py (revision ab8db090fce404b23716c4c9194221ee27efe31c)
1*ab8db090SAndroid Build Coastguard Workerfrom distutils.core import setup, Extension
2*ab8db090SAndroid Build Coastguard Worker
3*ab8db090SAndroid Build Coastguard Workermarisa_module = Extension("_marisa",
4*ab8db090SAndroid Build Coastguard Worker                          sources=["marisa-swig_wrap.cxx", "marisa-swig.cxx"],
5*ab8db090SAndroid Build Coastguard Worker                          libraries=["marisa"])
6*ab8db090SAndroid Build Coastguard Worker
7*ab8db090SAndroid Build Coastguard Workersetup(name = "marisa",
8*ab8db090SAndroid Build Coastguard Worker      ext_modules = [marisa_module],
9*ab8db090SAndroid Build Coastguard Worker      py_modules = ["marisa"])
10