forked from lkilcher/pyTurbSim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (46 loc) · 1.96 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
# The setup script for installing pyTurbSim.
from numpy.distutils.core import setup, Extension
from pyts import _version as ver
setup(name='PyTurbSim',
version=ver.__version__,
description='Python implementation of TurbSim',
author='Levi Kilcher',
author_email='[email protected]',
url='http://lkilcher.github.io/pyTurbSim',
packages=[ver.pkg_name,
ver.pkg_name + '.io',
ver.pkg_name + '.gui',
ver.pkg_name + '.plot',
ver.pkg_name + '.cohereModels',
ver.pkg_name + '.phaseModels',
ver.pkg_name + '.profModels',
ver.pkg_name + '.runInput',
ver.pkg_name + '.specModels',
ver.pkg_name + '.stressModels', ],
requires=['numpy', ],
data_files=[
('pyts/io/templates',
['pyts/io/templates/sum',
'pyts/io/templates/inp', ]),
('pyts/gui/default_inputs',
['pyts/gui/default_inputs/RIVER.inp',
'pyts/gui/default_inputs/TIDAL.inp',
'pyts/gui/default_inputs/WIND.inp',
'pyts/gui/default_inputs/WIND_IEC.inp', ]),
],
scripts=['pyTurbSim.py',
'gTurbSim.py',
],
ext_modules=[Extension('pyts.tslib',
sources=['pyts/tslib/tslib.pyf',
'pyts/tslib/tslib.f95',
'pyts/tslib/lapack/lsame.f',
'pyts/tslib/lapack/sdot.f',
'pyts/tslib/lapack/spptrf.f',
'pyts/tslib/lapack/sscal.f',
'pyts/tslib/lapack/sspr.f',
'pyts/tslib/lapack/stpsv.f',
'pyts/tslib/lapack/xerbla.f', ],
extra_link_args=['-lgomp'],
)],
)