forked from mdolab/OpenAeroStruct
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (44 loc) · 1.23 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
from setuptools import setup
import re
__version__ = re.findall(
r"""__version__ = ["']+([0-9\.]*)["']+""",
open('openaerostruct/__init__.py').read(),
)[0]
setup(name='openaerostruct',
version=__version__,
description='OpenAeroStruct',
author='John Jasa',
author_email='[email protected]',
license='BSD-3',
packages=[
'openaerostruct',
'openaerostruct/docs',
'openaerostruct/docs/_utils',
'openaerostruct/geometry',
'openaerostruct/structures',
'openaerostruct/aerodynamics',
'openaerostruct/transfer',
'openaerostruct/functionals',
'openaerostruct/integration',
'openaerostruct/common',
'openaerostruct/utils',
],
# Test files
package_data={
'openaerostruct': ['tests/*.py', '*/tests/*.py', '*/*/tests/*.py']
},
# TODO: add versions?
install_requires=[
'openmdao[docs]>=3.2',
'numpy',
'scipy',
'matplotlib',
],
zip_safe=False,
# ext_modules=ext,
entry_points="""
[console_scripts]
plot_wing=openaerostruct.utils.plot_wing:disp_plot
plot_wingbox=openaerostruct.utils.plot_wingbox:disp_plot
"""
)