forked from dolfin-adjoint/pyadjoint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (32 loc) · 1.3 KB
/
setup.py
File metadata and controls
34 lines (32 loc) · 1.3 KB
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
from itertools import chain
from setuptools import setup
extras = {
'moola': ['moola>=0.1.6'],
'test': ['pytest>=3.10', 'flake8', 'coverage'],
'visualisation': ['tensorflow', 'protobuf==3.6.0',
'networkx', 'pygraphviz'],
'meshing': ['pygmsh', 'meshio'],
}
# 'all' includes all of the above
extras['all'] = list(chain(*extras.values()))
setup(name='dolfin_adjoint',
version='2019.1.2',
description='High-level automatic differentiation library for FEniCS.',
author='Sebastian Kenji Mitusch',
author_email='sebastkm@math.uio.no',
packages=['fenics_adjoint',
'fenics_adjoint.types',
'fenics_adjoint.blocks',
'dolfin_adjoint',
'dolfin_adjoint_common',
'dolfin_adjoint_common.blocks',
'firedrake_adjoint',
'numpy_adjoint',
'pyadjoint',
'pyadjoint.optimization'],
package_dir={'fenics_adjoint': 'fenics_adjoint', 'pyadjoint': 'pyadjoint',
'firedrake_adjoint': 'firedrake_adjoint', 'dolfin_adjoint': 'dolfin_adjoint',
'dolfin_adjoint_common': 'dolfin_adjoint_common', 'numpy_adjoint': 'numpy_adjoint'},
install_requires=['scipy>=1.0'],
extras_require=extras
)