blob: fe6d0a64c7bd62af5d8b7dbed01fc6a476580018 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
from setuptools import Extension, setup
from Cython.Build import cythonize
ext_modules = [
Extension(
"hello",
["hello.pyx"],
extra_compile_args=['-fopenmp'],
extra_link_args=['-fopenmp'],
)
]
setup(
name='hello-parallel-world',
ext_modules=cythonize(ext_modules),
)
|