forked from OpenMDAO/OpenMDAO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
255 lines (250 loc) · 10.5 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
import re
import sys
from setuptools import setup
__version__ = re.findall(
r"""__version__ = ["']+([0-9\.\-dev]*)["']+""",
open('openmdao/__init__.py').read(),
)[0]
optional_dependencies = {
'docs': [
'matplotlib',
'jupyter',
'nbconvert',
'testflo',
'ipyparallel',
'numpydoc>=1.1',
'tabulate',
'jupyter-book',
'jupyter-sphinx==0.3.1',
'sphinx-sitemap',
'jinja2<3.1'
],
'notebooks': [
'notebook',
'tabulate',
'ipython',
'ipywidgets>=7.6.5',
'ipympl'
],
'visualization': [
'bokeh>=1.3.4',
'matplotlib',
'colorama'
],
'test': [
'parameterized',
'numpydoc>=1.1',
'pycodestyle>=2.4.0',
'pydocstyle==2.0.0',
'testflo>=1.3.6'
'websockets>8',
'aiounittest',
'playwright>=1.20'
]
}
# Add an optional dependency that concatenates all others
optional_dependencies['all'] = sorted([
dependency
for dependencies in optional_dependencies.values()
for dependency in dependencies
])
setup(
name='openmdao',
version=__version__,
description="OpenMDAO framework infrastructure",
long_description="""OpenMDAO is an open-source high-performance computing platform
for systems analysis and multidisciplinary optimization, written in Python. It
enables you to decompose your models, making them easier to build and maintain,
while still solving them in a tightly coupled manner with efficient parallel numerical methods.
""",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Topic :: Scientific/Engineering',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
],
keywords='optimization multidisciplinary multi-disciplinary analysis',
author='OpenMDAO Team',
author_email='[email protected]',
url='http://openmdao.org',
license='Apache License, Version 2.0',
packages=[
'openmdao',
'openmdao.approximation_schemes',
'openmdao.code_review',
'openmdao.components',
'openmdao.components.interp_util',
'openmdao.core',
'openmdao.devtools',
'openmdao.devtools.iprofile_app',
'openmdao.docs',
'openmdao.docs.openmdao_book',
'openmdao.drivers',
'openmdao.error_checking',
'openmdao.jacobians',
'openmdao.matrices',
'openmdao.proc_allocators',
'openmdao.recorders',
'openmdao.solvers',
'openmdao.solvers.linear',
'openmdao.solvers.linesearch',
'openmdao.solvers.nonlinear',
'openmdao.surrogate_models',
'openmdao.surrogate_models.nn_interpolators',
'openmdao.test_suite',
'openmdao.test_suite.components',
'openmdao.test_suite.groups',
'openmdao.test_suite.test_examples',
'openmdao.test_suite.test_examples.beam_optimization',
'openmdao.test_suite.test_examples.beam_optimization.components',
'openmdao.test_suite.test_examples.cannonball',
'openmdao.test_suite.test_examples.meta_model_examples',
'openmdao.utils',
'openmdao.vectors',
'openmdao.visualization',
'openmdao.visualization.case_viewer',
'openmdao.visualization.connection_viewer',
'openmdao.visualization.scaling_viewer',
'openmdao.visualization.n2_viewer',
'openmdao.visualization.meta_model_viewer',
],
package_data={
'openmdao.devtools': ['*.wpr', ],
'openmdao.visualization': [
'common/libs/*.js',
'common/style/*.css'
],
'openmdao.visualization.n2_viewer': [
'assets/*png*',
'libs/*.js',
'src/*.js',
'gen/*.js',
'style/*',
'tests/*.js',
'tests/*.json',
'tests/gui_test_models/*.py',
'*.html'
],
'openmdao.visualization.connection_viewer': [
'*.html',
],
'openmdao.visualization.scaling_viewer': [
'*.html',
],
'openmdao.visualization.meta_model_viewer': [
'tests/known_data_point_files/*.csv',
],
'openmdao.devtools.iprofile_app': [
'static/*.html',
'templates/*.html'
],
'openmdao.docs': ['*.py', 'openmdao_book/test/*.py', 'openmdao_book/other/*.py',
'openmdao_book/*.md',
'openmdao_book/*/*.md',
'openmdao_book/*.ipynb',
'openmdao_book/*/*.ipynb',
'openmdao_book/*/*/*.ipynb',
'openmdao_book/*/*/*/*.ipynb'],
'openmdao.recorders': ['tests/legacy_sql/*.sql'],
'openmdao.utils': ['unit_library.ini', 'scaffolding_templates/*'],
'openmdao.test_suite': [
'*.py',
'*/*.py',
'matrices/*.npz'
],
'openmdao': ['*/tests/*.py', '*/*/tests/*.py', '*/*/*/tests/*.py']
},
python_requires=">=3.7",
install_requires=[
'networkx>=2.0',
'numpy',
'pyDOE2',
'pyparsing',
'scipy',
'requests'
],
entry_points={
'console_scripts': [
'wingproj=openmdao.devtools.wingproj:run_wing',
'webview=openmdao.utils.webview:webview_argv',
'run_om_test=openmdao.devtools.run_test:run_test',
'reset_notebook=openmdao.devtools.docutils:reset_notebook_cmd',
'openmdao=openmdao.utils.om:openmdao_cmd',
],
'openmdao_case_reader': [
'sqlitereader=openmdao.recorders.sqlite_reader:SqliteCaseReader',
],
'openmdao_case_recorder': [
'sqliterecorder=openmdao.recorders.sqlite_recorder:SqliteRecorder',
],
'openmdao_component': [
'addsubtractcomp=openmdao.components.add_subtract_comp:AddSubtractComp',
'balancecomp=openmdao.components.balance_comp:BalanceComp',
'crossproductcomp=openmdao.components.cross_product_comp:CrossProductComp',
'demuxcomp=openmdao.components.demux_comp:DemuxComp',
'dotproductcomp=openmdao.components.dot_product_comp:DotProductComp',
'eqconstraintcomp=openmdao.components.eq_constraint_comp:EQConstraintComp',
'execcomp=openmdao.components.exec_comp:ExecComp',
'explicitfunccomp=openmdao.components.explicit_func_comp:ExplicitFuncComp',
'implicitfunccomp=openmdao.components.implicit_func_comp:ImplicitFuncComp',
'externalcodecomp=openmdao.components.external_code_comp:ExternalCodeComp',
'externalcodeimplicitcomp=openmdao.components.external_code_comp:ExternalCodeImplicitComp',
'kscomp=openmdao.components.ks_comp:KSComp',
'linearsystemcomp=openmdao.components.linear_system_comp:LinearSystemComp',
'matrixvectorproductcomp=openmdao.components.matrix_vector_product_comp:MatrixVectorProductComp',
'metamodelstructuredcomp=openmdao.components.meta_model_structured_comp:MetaModelStructuredComp',
'metamodelsemistructuredcomp=openmdao.components.meta_model_semi_structured_comp:MetaModelSemiStructuredComp',
'metamodelunstructuredcomp=openmdao.components.meta_model_unstructured_comp:MetaModelUnStructuredComp',
'multifimetamodelunstructuredcomp=openmdao.components.multifi_meta_model_unstructured_comp:MultiFiMetaModelUnStructuredComp',
'muxcomp=openmdao.components.mux_comp:MuxComp',
'splinecomp=openmdao.components.spline_comp:SplineComp',
'vectormagnitudecomp=openmdao.components.vector_magnitude_comp:VectorMagnitudeComp',
'indepvarcomp=openmdao.core.indepvarcomp:IndepVarComp',
],
'openmdao_driver': [
'doedriver=openmdao.drivers.doe_driver:DOEDriver',
'driver=openmdao.core.driver:Driver',
'simplegadriver=openmdao.drivers.genetic_algorithm_driver:SimpleGADriver',
'differentialevolutiondriver=openmdao.drivers.differential_evolution_driver:DifferentialEvolutionDriver',
'pyoptsparsedriver=openmdao.drivers.pyoptsparse_driver:pyOptSparseDriver',
'scipydriver=openmdao.drivers.scipy_optimizer:ScipyOptimizeDriver',
],
'openmdao_group': [
'group=openmdao.core.group:Group',
'parallelgroup=openmdao.core.parallel_group:ParallelGroup',
],
'openmdao_lin_solver': [
'directsolver=openmdao.solvers.linear.direct:DirectSolver',
'linearblockgs=openmdao.solvers.linear.linear_block_gs:LinearBlockGS',
'linearblockjac=openmdao.solvers.linear.linear_block_jac:LinearBlockJac',
'linearrunoncec=openmdao.solvers.linear.linear_runonce:LinearRunOnce',
'petsckrylov=openmdao.solvers.linear.petsc_ksp:PETScKrylov',
'scipykrylov=openmdao.solvers.linear.scipy_iter_solver:ScipyKrylov',
'userdefined=openmdao.solvers.linear.user_defined:LinearUserDefined',
],
'openmdao_nl_solver': [
'broydensolver=openmdao.solvers.nonlinear.broyden:BroydenSolver',
'newtonsolver=openmdao.solvers.nonlinear.newton:NewtonSolver',
'nonlinearblockgs=openmdao.solvers.nonlinear.nonlinear_block_gs:NonlinearBlockGS',
'nonlinearblockjac=openmdao.solvers.nonlinear.nonlinear_block_jac:NonlinearBlockJac',
'nonlinearrunonce=openmdao.solvers.nonlinear.nonlinear_runonce:NonlinearRunOnce',
'armijogoldsteinls=openmdao.solvers.linesearch.backtracking:ArmijoGoldsteinLS',
'boundsenforcels=openmdao.solvers.linesearch.backtracking:BoundsEnforceLS',
],
'openmdao_surrogate_model': [
'krigingsurrogate=openmdao.surrogate_models.kriging:KrigingSurrogate',
'nearestneighbor=openmdao.surrogate_models.nearest_neighbor:NearestNeighbor',
'responsesurface=openmdao.surrogate_models.response_surface:ResponseSurface',
'multificokrigingsurrogate=openmdao.surrogate_models.multifi_cokriging:MultiFiCoKrigingSurrogate',
]
},
extras_require=optional_dependencies,
)