forked from jdlarsen-UA/LB-colloids
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (32 loc) · 1.67 KB
/
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
29
30
31
32
33
34
35
36
import setuptools
from numpy.distutils.core import Extension
from numpy.distutils.core import setup
import platform
__name__ = "lb_colloids"
__author__ = "Joshua D Larsen"
__version__ = "0.2"
long_description = """PhD project of Joshua D Larsen at the University of Arizona
Department of Soil Water and Environmental Sciences. This python package contains classes
and functions to build and run lattice Boltzmann computation fluid dynamics models on two
dimensional images of geological materials. The Colloids portion contains modeling tools to
simulate the chemical and physical dynamics of colloid transport in the lattice boltzmann domain
post CFD simulation. This project is open source, and I invite collaboration to make this tool
better! Publication of this work is in progress. Relevent pubs will be listed appropriately. Documentation
of physical and chemical equations can be located in the doc-strings."""
if platform.system().lower() == 'windows':
ext_modules = [Extension('lb_colloids.LB.LB2Dw',
['lb_colloids/LB/LB2D_np.f95'])]
else:
ext_modules = [Extension('lb_colloids.LB.LB2D',
['lb_colloids/LB/LB2D_np.f95'])]
setup(name=__name__,
author=__author__,
author_email='jdlarsen@email.arizona.edu',
version=__version__,
description="A D2Q9 lattice Boltzmann modeling tool to simulate colloid transport",
long_description=long_description,
install_requires=['numpy', 'matplotlib', 'pandas', 'scipy', 'h5py', 'Pillow'],
# python_requires="=2.7.*",
packages=['lb_colloids', 'lb_colloids.LB', 'lb_colloids.Colloids'],
# ext_modules=ext_modules
)