Skip to content
Snippets Groups Projects
Commit 1d5d51ee authored by Paolo Veglio's avatar Paolo Veglio
Browse files

didn't commit setup until now

parent 520862de
No related branches found
No related tags found
No related merge requests found
setup.py 0 → 100644
from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize
import numpy
sourcefiles = ['src/get_Reynolds_SST.c', # SST
'src/bilinearInterpSST.c', # _|
'src/swap_bytes.c', # _|
'src/get_NDVI_background.c', # NDVI
'src/get_Olson_eco.c', # Olson eco type
'src/getcoord.c', # _|
'src/get_GEOS.c', # GEOS
'src/get_geos_times.c', # _|
'src/get_granule_times.c', # _|
'src/get_ti_vars.c', # _|
'src/get_ti_weights.c', # _|
'src/read_GEOS.c', # _|
'src/read_GEOS_constants.c', # _|
'src/read_GEOS_lndocn.c', # _|
'src/assign_geos_vals.c', # _|
'ancillary.pyx',
]
include_dirs = ['include',
'/opt/hdfeos2/2.20-gcc-8.3/include',
'/opt/netcdf4/4.7.0-gcc-8.3/include',
numpy.get_include(), ]
library_dirs = ['/opt/hdfeos2/2.20-gcc-8.3/lib',
'/opt/netcdf4/4.7.0fcc-8.3/lib']
extensions = [Extension('ancillary_data', sourcefiles,
include_dirs=include_dirs,
library_dirs=library_dirs,
libraries=['netcdf']), ]
setup(ext_modules=cythonize(extensions,
compiler_directives={'language_level': '3'}, ), )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment