Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MVCM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paolo Veglio
MVCM
Commits
226c1d77
Commit
226c1d77
authored
1 year ago
by
Paolo Veglio
Browse files
Options
Downloads
Patches
Plain Diff
bump version
parent
afff8e73
No related branches found
No related tags found
No related merge requests found
Pipeline
#46291
failed
1 year ago
Stage: test
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mvcm/__init__.py
+2
-1
2 additions, 1 deletion
mvcm/__init__.py
setup.py
+51
-39
51 additions, 39 deletions
setup.py
with
53 additions
and
40 deletions
mvcm/__init__.py
+
2
−
1
View file @
226c1d77
__version__
=
"
0.1.1
"
"""
Set up version.
"""
__version__
=
"
0.1.2
"
This diff is collapsed.
Click to expand it.
setup.py
+
51
−
39
View file @
226c1d77
"""
Setup sources for cython.
"""
# from distutils.core import setup
# from distutils.extension import Extension
from
setuptools
import
Extension
,
setup
,
find_packages
from
Cython.Build
import
cythonize
import
numpy
from
Cython.Build
import
cythonize
from
setuptools
import
Extension
,
find_packages
,
setup
sourcefiles
=
[
'
mvcm/ancillary.pyx
'
,
'
mvcm/c_tools/get_Reynolds_SST.c
'
,
# SST
'
mvcm/c_tools/bilinearInterpSST.c
'
,
# _|
'
mvcm/c_tools/swap_bytes.c
'
,
# _|
'
mvcm/c_tools/get_NDVI_background.c
'
,
# NDVI
'
mvcm/c_tools/get_Olson_eco.c
'
,
# Olson eco type
'
mvcm/c_tools/getcoord.c
'
,
# _|
'
mvcm/c_tools/get_GEOS.c
'
,
# GEOS
'
mvcm/c_tools/get_geos_times.c
'
,
# _|
'
mvcm/c_tools/get_granule_times.c
'
,
# _|
'
mvcm/c_tools/get_ti_vars.c
'
,
# _|
'
mvcm/c_tools/get_ti_weights.c
'
,
# _|
'
mvcm/c_tools/read_GEOS.c
'
,
# _|
'
mvcm/c_tools/read_GEOS_constants.c
'
,
# _|
'
mvcm/c_tools/read_GEOS_lndocn.c
'
,
# _|
'
mvcm/c_tools/assign_geos_vals.c
'
,
# _|
'
mvcm/c_tools/cithr.c
'
,
# Not sure
'
mvcm/c_tools/check_reg_uniformity.c
'
,
# reg. uniformity for restoral
]
sourcefiles
=
[
"
mvcm/ancillary.pyx
"
,
"
mvcm/c_tools/get_Reynolds_SST.c
"
,
# SST
"
mvcm/c_tools/bilinearInterpSST.c
"
,
# _|
"
mvcm/c_tools/swap_bytes.c
"
,
# _|
"
mvcm/c_tools/get_NDVI_background.c
"
,
# NDVI
"
mvcm/c_tools/get_Olson_eco.c
"
,
# Olson eco type
"
mvcm/c_tools/getcoord.c
"
,
# _|
"
mvcm/c_tools/get_GEOS.c
"
,
# GEOS
"
mvcm/c_tools/get_geos_times.c
"
,
# _|
"
mvcm/c_tools/get_granule_times.c
"
,
# _|
"
mvcm/c_tools/get_ti_vars.c
"
,
# _|
"
mvcm/c_tools/get_ti_weights.c
"
,
# _|
"
mvcm/c_tools/read_GEOS.c
"
,
# _|
"
mvcm/c_tools/read_GEOS_constants.c
"
,
# _|
"
mvcm/c_tools/read_GEOS_lndocn.c
"
,
# _|
"
mvcm/c_tools/assign_geos_vals.c
"
,
# _|
"
mvcm/c_tools/cithr.c
"
,
# Not sure
"
mvcm/c_tools/check_reg_uniformity.c
"
,
# reg. uniformity for restoral
]
include_dirs
=
[
'
mvcm/c_tools/include
'
,
'
/opt/hdf4/4.2.14-gcc-8.3/include
'
,
'
/opt/hdfeos2/2.20-gcc-8.3/include
'
,
'
/opt/netcdf4/4.7.0-gcc-8.3/include
'
,
numpy
.
get_include
(),
]
include_dirs
=
[
"
mvcm/c_tools/include
"
,
"
/opt/hdf4/4.2.14-gcc-8.3/include
"
,
"
/opt/hdfeos2/2.20-gcc-8.3/include
"
,
"
/opt/netcdf4/4.7.0-gcc-8.3/include
"
,
numpy
.
get_include
(),
]
library_dirs
=
[
'
/opt/hdf4/4.2.14-gcc-8.3/lib
'
,
'
/opt/hdfeos2/2.20-gcc-8.3/lib
'
,
'
/opt/netcdf4/4.7.0-gcc-8.3/lib
'
,
]
library_dirs
=
[
"
/opt/hdf4/4.2.14-gcc-8.3/lib
"
,
"
/opt/hdfeos2/2.20-gcc-8.3/lib
"
,
"
/opt/netcdf4/4.7.0-gcc-8.3/lib
"
,
]
extensions
=
[
Extension
(
'
ancillary_data
'
,
sourcefiles
,
include_dirs
=
include_dirs
,
library_dirs
=
library_dirs
,
libraries
=
[
'
netcdf
'
]),
]
extensions
=
[
Extension
(
"
ancillary_data
"
,
sourcefiles
,
include_dirs
=
include_dirs
,
library_dirs
=
library_dirs
,
libraries
=
[
"
netcdf
"
],
),
]
setup
(
packages
=
find_packages
(),
ext_modules
=
cythonize
(
extensions
,
compiler_directives
=
{
'
language_level
'
:
'
3
'
},
),
)
setup
(
packages
=
find_packages
(),
ext_modules
=
cythonize
(
extensions
,
compiler_directives
=
{
"
language_level
"
:
"
3
"
},
),
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment