-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (56 loc) · 2.19 KB
/
Copy pathsetup.py
File metadata and controls
59 lines (56 loc) · 2.19 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
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
#!/usr/bin/env python
#-----------------------------------------------------------------------------#
# Group on Data Assimilation Development - GDAD/CPTEC/INPE #
#-----------------------------------------------------------------------------#
#BOP
#
# !SCRIPT:
#
# !DESCRIPTION:
#
# !CALLING SEQUENCE:
#
# !REVISION HISTORY:
# 13 Apr 2018 - J. G. de Mattos - Initial Version
#
# !REMARKS:
#
#EOP
#-----------------------------------------------------------------------------#
#BOC
import setuptools
from numpy.distutils.core import Extension
ext = Extension(name='diag2python',
extra_f77_compile_args=['-fconvert=big-endian'],
extra_f90_compile_args=['-fconvert=big-endian'],
extra_link_args=['-fconvert=big-endian'],
sources=['gsidiag/f90/m_string.f90',
'gsidiag/f90/ReadDiagMod.f90',
'gsidiag/f90/ReadDiagModRad.f90',
'gsidiag/f90/diag2python.f90',
'gsidiag/f90/diag2python.pyf'])
if __name__ == "__main__":
from numpy.distutils.core import setup
setup(name='readDiag',
version='1.3.2',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
description='A Python class to read and plot the Gridpoint Statistical Interpolation diagnostics files.',
author='Joao Gerd Z. de Mattos',
author_email='joao.gerd@inpe.br',
project_urls={
'Source': 'https://github.com/GAD-DIMNT-CPTEC/readDiag',
'Documentation': 'https://gad-dimnt-cptec.github.io/readDiag/',
},
license='CC BY-NC-SA-4.0',
keyword=['gridpoint statistical interpolation', 'atmospheric data assimilation'],
packages=['gsidiag'],
package_data={'': ['table.yml']},
install_requires=['numpy>=1.22','matplotlib==3.8.2', 'xarray', 'Cartopy>=0.22.0', 'geopandas==0.14.1', 'jupyterlab'],
platforms=['any'],
zip_safe=False,
ext_modules=[ext],
python_requires='>=3.9.18',
)
#EOC
#-----------------------------------------------------------------------------#