Created
August 10, 2016 19:39
Revisions
-
cvvs created this gist
Aug 10, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ #from distutils.core import setup, Extension #import numpy from setuptools import setup, Extension cpu_hamming = Extension('cpu_hamming', define_macros=[('MAJOR_VERSION', '0'), ('MINOR_VERSION', '6')], libraries=['m'], extra_compile_args=["-pthread", "--std=c++0x", "-msse4.2", "-funroll-loops", "-O3", "-mfpmath=sse"], sources=['cpu/ham.cpp']) setup(ext_modules=[cpu_hamming], name='nearest', version='0.6.0', description='Nearest Neighour Search', author='njh', author_email='nhurst@shutterstock.com', packages=['nearest'], setup_requires=["numpy"], install_requires=["numpy", "cffi"], #include_dirs=[numpy.get_include()], )