-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
22 lines (20 loc) · 804 Bytes
/
Copy pathsetup.py
File metadata and controls
22 lines (20 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from setuptools import setup
from pybind11.setup_helpers import Pybind11Extension, build_ext
ext_modules = [
Pybind11Extension(
"nanodb",
["nanodb_python_module/py_bindings.cpp", "global.cpp","hft_clean/src/exchange_adapter.cpp","hft_clean/src/market_data_handler.cpp","hft_clean/src/order_book.cpp"],
include_dirs=[".", "hft_clean/include"],
extra_compile_args=["-O3", "-std=c++20", "-fPIC"],
libraries=["uring", "crypto", "ssl"],
),
]
setup(
name="nanovaultdb",
version="1.0.1",
description="High-performance C++ database with Batch writing, web socket support only for high frequency data incoming along with general table storage",
ext_modules=ext_modules,
cmdclass={"build_ext": build_ext},
zip_safe=False,
packages=[],
)