forked from usnistgov/fipy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
82 lines (74 loc) · 3.26 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
""" FiPy is an object oriented, partial differential equation (PDE) solver
FiPy is based on a standard finite volume (FV) approach. The framework has
been developed in the Materials Science and Engineering Division (MSED) and
Center for Theoretical and Computational Materials Science (CTCMS), in the
Material Measurement Laboratory (MML) at the National Institute of
Standards and Technology (NIST).
"""
from __future__ import unicode_literals
from setuptools import setup, find_packages
import versioneer
from _setup.changelog import changelog
from _setup.copy_script import copy_script
from _setup.upload_products import upload_products
from _setup.release import release
LONG_DESCRIPTION = """
FiPy is an object oriented, partial differential equation (PDE) solver,
written in Python, based on a standard finite volume (FV) approach. This
combination provides a tool that is extensible, powerful and freely
available. A significant advantage to Python is the existing suite of
tools for array calculations, sparse matrices and data rendering.
The FiPy framework includes terms for transient diffusion, convection and
standard sources, enabling the solution of arbitrary combinations of
coupled elliptic, hyperbolic and parabolic PDEs. Currently implemented
models include phase field treatments of polycrystalline, dendritic, and
electrochemical phase transformations, as well as drug eluting stents,
reactive wetting, photovoltaics and a level set treatment of the
electrodeposition process.
"""
VERSION = versioneer.get_version()
DIST = setup(
name="FiPy",
install_requires=["numpy", "scipy", "matplotlib", "future"],
version=VERSION,
download_url="https://github.com/usnistgov/fipy/archive/{}.zip".format(VERSION),
author="Jonathan Guyer, Daniel Wheeler, & Jim Warren",
author_email="[email protected]",
url="http://www.ctcms.nist.gov/fipy/",
license="NIST Public Domain",
description="A finite volume PDE solver in Python",
long_description=LONG_DESCRIPTION,
cmdclass=dict(
{
"upload_products": upload_products,
"copy_script": copy_script,
"changelog": changelog,
"release": release,
},
**versioneer.get_cmdclass()
),
test_suite="fipy.testFiPy._suite",
packages=find_packages(exclude=["examples", "examples.*", "utils", "utils.*"]),
entry_points="""
[fipy.viewers]
matplotlib = fipy.viewers.matplotlibViewer:MatplotlibViewer
mayavi = fipy.viewers.mayaviViewer:MayaviClient
[distutils.commands]
test = fipy.tests.test:test
unittest = fipy.tests.test:test
""",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: X11 Applications",
"Intended Audience :: Science/Research",
"License :: Public Domain",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)