forked from ansys/pydpf-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
89 lines (83 loc) · 3 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
83
84
85
86
87
88
89
"""Installation file for python dpf module
"""
import os
from io import open as io_open
from setuptools import setup
install_requires = ["psutil", "progressbar2", "numpy", "ansys.grpc.dpf>=0.2.3"]
# Get version from version info
filepath = os.path.dirname(__file__)
__version__ = None
version_file = os.path.join(filepath, "ansys", "dpf", "core", "_version.py")
with io_open(version_file, mode="r") as fd:
exec(fd.read()) # execute file from raw string
readme_file = os.path.join(filepath, "README.md")
setup(
name="ansys-dpf-core",
packages=[
"ansys.dpf.core",
"ansys.dpf.core.examples",
"ansys.dpf.core.operators",
"ansys.dpf.core.operators.averaging",
"ansys.dpf.core.operators.filter",
"ansys.dpf.core.operators.geo",
"ansys.dpf.core.operators.invariant",
"ansys.dpf.core.operators.logic",
"ansys.dpf.core.operators.mapping",
"ansys.dpf.core.operators.math",
"ansys.dpf.core.operators.mesh",
"ansys.dpf.core.operators.metadata",
"ansys.dpf.core.operators.min_max",
"ansys.dpf.core.operators.result",
"ansys.dpf.core.operators.scoping",
"ansys.dpf.core.operators.serialization",
"ansys.dpf.core.operators.utility",
],
version=__version__,
description="DPF Python gRPC client",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
package_data={
"ansys.dpf.core.examples": [
"ASimpleBar.rst",
"static.rst",
"complex.rst",
"model_with_ns.rst",
"file_cyclic.rst",
"msup_transient_plate1.rst",
"rth/rth_electric.rth",
"rth/rth_steady.rth",
"rth/rth_transient.rth",
"sub/cp56.sub",
"msup/file.mode",
"msup/file.rst",
"msup/file.rfrq",
"msup_distributed/file0.rst",
"msup_distributed/file1.rst",
"msup_distributed/file0.mode",
"msup_distributed/file1.mode",
"msup_distributed/file_load_1.rfrq",
"msup_distributed/file_load_2.rfrq",
]
},
maintainer_email="[email protected]",
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*",
install_requires=install_requires,
extras_require={
"plotting": ["pyvista>=0.24.0", "matplotlib==3.2"],
"reporting": ["scooby"],
},
url="https://github.com/pyansys/pydpf-core",
license='MIT',
)