-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (28 loc) · 704 Bytes
/
Copy pathsetup.py
File metadata and controls
30 lines (28 loc) · 704 Bytes
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
from setuptools import setup, Extension
import os
qihse_ext = Extension(
'qihse',
sources=['qihse.c'],
include_dirs=[
'../../include',
'../../vendor/tree-sitter/lib/include',
'../../algorithms',
'../../core',
'../../persistence',
'../../codecs',
'../../memory/include',
'../../orchestration/include',
'../../ml/include',
'../../quantization/include',
'../../sync'
],
library_dirs=['../../'],
libraries=['qihse'],
extra_compile_args=['-O3', '-std=c99']
)
setup(
name='qihse',
version='1.0.0',
description='Native Python C-Bindings for QIHSE',
ext_modules=[qihse_ext],
)