from setuptools import setup, find_packages
import os
import shutil



shutil.rmtree("rsearch", ignore_errors=True)
os.mkdir("rsearch")
shutil.copyfile("python_file/__init__.py", "rsearch/__init__.py")
shutil.copyfile("rsearch.py", "rsearch/rsearch.py")
shutil.copyfile("python_file/handle_rsearch.py", "rsearch/handle_rsearch.py")
shutil.copyfile("_swigrsearch.so", "rsearch/_rsearch.so")
shutil.copyfile("../build/librsearch.so", "librsearch.so")
shutil.copyfile("../thirdparty/faiss/lib/libfaiss.so", "libfaiss.so")

setup(
    name="rsearch",
    version="0.1.0",
    description = "...",
    install_requires=['numpy'],
    packages=['rsearch'],
    package_data={
        'rsearch':['*.so'],
    },
)

e2aa80923dd6d95d9b894c05295e7e17b855b0b7
<mask token>

<mask token>
shutil.rmtree('rsearch', ignore_errors=True)
os.mkdir('rsearch')
shutil.copyfile('python_file/__init__.py', 'rsearch/__init__.py')
shutil.copyfile('rsearch.py', 'rsearch/rsearch.py')
shutil.copyfile('python_file/handle_rsearch.py', 'rsearch/handle_rsearch.py')
shutil.copyfile('_swigrsearch.so', 'rsearch/_rsearch.so')
shutil.copyfile('../build/librsearch.so', 'librsearch.so')
shutil.copyfile('../thirdparty/faiss/lib/libfaiss.so', 'libfaiss.so')
setup(name='rsearch', version='0.1.0', description='...', install_requires=
    ['numpy'], packages=['rsearch'], package_data={'rsearch': ['*.so']})

from setuptools import setup, find_packages
import os
import shutil
shutil.rmtree('rsearch', ignore_errors=True)
os.mkdir('rsearch')
shutil.copyfile('python_file/__init__.py', 'rsearch/__init__.py')
shutil.copyfile('rsearch.py', 'rsearch/rsearch.py')
shutil.copyfile('python_file/handle_rsearch.py', 'rsearch/handle_rsearch.py')
shutil.copyfile('_swigrsearch.so', 'rsearch/_rsearch.so')
shutil.copyfile('../build/librsearch.so', 'librsearch.so')
shutil.copyfile('../thirdparty/faiss/lib/libfaiss.so', 'libfaiss.so')
setup(name='rsearch', version='0.1.0', description='...', install_requires=
    ['numpy'], packages=['rsearch'], package_data={'rsearch': ['*.so']})

from setuptools import setup, find_packages
import os
import shutil



shutil.rmtree("rsearch", ignore_errors=True)
os.mkdir("rsearch")
shutil.copyfile("python_file/__init__.py", "rsearch/__init__.py")
shutil.copyfile("rsearch.py", "rsearch/rsearch.py")
shutil.copyfile("python_file/handle_rsearch.py", "rsearch/handle_rsearch.py")
shutil.copyfile("_swigrsearch.so", "rsearch/_rsearch.so")
shutil.copyfile("../build/librsearch.so", "librsearch.so")
shutil.copyfile("../thirdparty/faiss/lib/libfaiss.so", "libfaiss.so")

setup(
    name="rsearch",
    version="0.1.0",
    description = "...",
    install_requires=['numpy'],
    packages=['rsearch'],
    package_data={
        'rsearch':['*.so'],
    },
)
