facebookresearch / pysparnn

Approximate Nearest Neighbor Search for Sparse Data in Python!
Other
918 stars 145 forks source link

Modernize setup.py #22

Open gwerbin opened 5 years ago

gwerbin commented 5 years ago

Read requirements from requirements.txt, and use setuptools.find_packages.

This can now be safely installed using

pip install 'git+https://github.com/facebookresearch/pysparn@master#egg=pysparnn'

and Pip will correctly identify and download dependencies.