-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use setuptools to install Python package #16
Comments
Thanks for the suggestion. I don't think the setup.py simplifies the compilation process, since BLAS and swig are the hardest flags to set, not the Python flags. |
Hi @mdouze. The idea behind using setuptools is to provide means to install faiss as a module on a Python environment. In the current implementation, one has to copy the lib files inside its project. I think setuptools is an important step to distribute faiss (the next one should PS: I already deployed faiss in my current project and it searches a 670K x 128 database in less then 1.2ms, using a 4 CPU machine. Pretty neat for my needs. |
@brunodoamaral Good work! |
….7.0 Update low level bindings for faiss v1.7.0
I think the lib should have a setup.py install script, so one can easily install it with
python setup.py install
. What do you think?I created a first version in this branch: https://github.com/brunodoamaral/faiss/tree/setup-py
The only problem is that I build the .so file using
make
, instead of creating an Extension on setup.py (I tried it before, but couldn't get makefile.inc parameters to work inside setuptools).The text was updated successfully, but these errors were encountered: