kakao / n2

TOROS N2 - lightweight approximate Nearest Neighbor library which runs fast even with large datasets
Apache License 2.0
569 stars 70 forks source link

Python bindings to static library #27

Closed aagnone3 closed 4 years ago

aagnone3 commented 6 years ago

Is it possible to create python bindings to a statically-compiled version of the library? The end goal is to compile this on a valid machine and then use the library on a machine which does not have c++11. Alternatively, I could bring in a version of c++11, I'm just pretty unfamiliar with python <-> c++ bindings.

gony-noreply commented 4 years ago

If N2 supports bdist(built distribution), you can use it without c++ build environment. However, N2 only uses sdist(source distribution), not bdist method, for performance. it is recommended to use it in a c++14 buildable environment.