forked from latticeboltzmann/2d-lb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (26 loc) · 858 Bytes
/
setup.py
File metadata and controls
30 lines (26 loc) · 858 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
from distutils.extension import Extension
from Cython.Build import cythonize
import numpy as np
extensions = [
Extension("LB_D2Q9.dimensionless.cython_dim",
sources=["LB_D2Q9/dimensionless/cython_dim.pyx"],
include_dirs = [np.get_include()]),
Extension("LB_D2Q9.OLD.cython",
sources=["LB_D2Q9/OLD/cython.pyx"],
include_dirs = [np.get_include()])
]
setup(
name='2d-lb',
version='0.1',
packages=['LB_D2Q9'],
include_package_data=True,
url='',
license='',
author='Bryan Weinstein, Matheus C. Fernandes',
author_email='bweinstein@seas.harvard.edu',
description='',
ext_modules = cythonize(extensions, annotate=True),
include_dirs = [np.get_include()],
requires=['pyopencl', 'numpy', 'skimage', 'cython', 'seaborn']
)