-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (29 loc) · 756 Bytes
/
setup.py
File metadata and controls
31 lines (29 loc) · 756 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
31
import os
from setuptools import setup, Extension
import pybind11
ext_modules = [
Extension(
'sphviewer2.core',
['src/main.cpp'],
include_dirs=[
pybind11.get_include(),
'include'
],
language='c++',
extra_compile_args=[
'-std=c++14',
'-O3',
'-pthread',
'-ffast-math'
],
),
]
setup(
name='py-sphviewer2',
version='2.0.3',
description='Efficient SPH projection using the Benitez-Llambay (2025) algorithm',
ext_modules=ext_modules,
packages=['sphviewer2'],
install_requires=['numpy', 'pybind11'],
zip_safe=False,
)