-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (35 loc) · 1.02 KB
/
setup.py
File metadata and controls
37 lines (35 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
from setuptools import setup, Extension
from setuptools.command.build_ext import build_ext
import pybind11
ext_modules = [
Extension(
"victor.victor",
["victor/binding.cpp"],
include_dirs=[
pybind11.get_include(),
"/usr/local/include",
],
extra_objects=["/usr/local/lib/libvictor.a"],
language="c++",
extra_compile_args=["-O3", "-std=c++17"],
)
]
setup(
name="victor",
version="0.1.0",
author="Emiliano Billi",
author_email="[email protected]",
description="Python bindings for libvictor (vector database engine)",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="",
packages=["victor"],
ext_modules=ext_modules,
install_requires=["pybind11", "numpy"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: LGPLv3 License",
"Operating System :: OS Independent",
],
python_requires='>=3.7',
)