-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
27 lines (25 loc) · 855 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
from setuptools import setup, Extension
def main():
setup(
name="fastflow",
version="1.0.0",
description="Description",
author="Domenico Ferraro",
author_email="[email protected]",
ext_modules=[
Extension(
"fastflow",
["fastflow_module.cpp"],
include_dirs=['extern/fastflow', 'include'],
language="c++",
extra_compile_args=['-O3', '-std=c++17'],
# use a safe subset of the Python C API to get a forward-compatibility guarantee
# to support any future version of Python, without recompilation
py_limited_api = True
)
],
package_dir={"": "."},
python_requires=">=3.8",
)
if __name__ == "__main__":
main()