-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
28 lines (25 loc) · 814 Bytes
/
setup.py
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
from setuptools import Extension, setup
from Cython.Build import cythonize
import numpy as np
setup(
name = 'Posits4TorcHA',
author = 'Gabriel Vitor Klaumann Gubert',
author_email = '[email protected]',
maintainer = 'Gabriel Vitor Klaumann Gubert',
maintainer_email = '[email protected]',
ext_modules = cythonize(
[
Extension(
name = 'Posits4TorcHA',
sources = [
'src/Posits4TorcHA.py'
],
include_dirs = [
np.get_include()
],
extra_compile_args = ['-fopenmp'],
extra_link_args = ['-fopenmp']
)
]
),
)