ELIC_Python-1-intel-2021.02.eb 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. easyblock = 'PythonBundle'
  2. name = 'ELIC_Python'
  3. version = '1'
  4. homepage = 'https://gogs.elic.ucl.ac.be'
  5. description = """This repo provides additional Python and R extensions for ELIC ecosystem."""
  6. toolchain = {'name': 'intel', 'version': '2021a'}
  7. builddependencies = [
  8. ('pkg-config', '0.29.2'),
  9. ]
  10. dependencies = [
  11. ('Python', '3.9.5'),
  12. ('SciPy-bundle', '2021.05'),
  13. ('matplotlib', '3.3.3'),
  14. ('GDAL', '3.3.0'),
  15. ('NCL', '6.6.2'),
  16. ('CDO', '1.9.10'),
  17. ('NCO', '4.9.7'),
  18. ('ncview', '2.1.7'),
  19. #('libmo_unpack', '3.1.2'),
  20. #('orca', '3.4.3'),
  21. ]
  22. exts_defaultclass = 'PythonPackage'
  23. exts_default_options = {
  24. 'source_tmpl': '%(name)s-%(version)s.tar.gz',
  25. }
  26. exts_list = [
  27. # Python deps, order is important!
  28. ('pip', '21.2.2', {
  29. 'modulename': 'pip',
  30. 'source_tmpl': '%(version)s.tar.gz',
  31. 'source_urls': ['https://github.com/pypa/pip/archive/'],
  32. }),
  33. ('PyKE', '1.1.1', {
  34. 'modulename': 'pyke',
  35. 'source_tmpl': 'pyke3-%(version)s.zip',
  36. 'source_urls': ['https://sourceforge.net/projects/%(name)s/files/%(name)s/%(version)s'],
  37. 'use_pip': True,
  38. }),
  39. #('stratify', '0.1.1', {
  40. # 'modulename': 'stratify',
  41. # 'source_tmpl': 'v%(version)s.tar.gz',
  42. # 'source_urls': ['https://github.com/SciTools-incubator/python-stratify/archive/'],
  43. #}),
  44. #('mo_pack', '0.2.0', {
  45. # 'source_tmpl': 'v%(version)s.tar.gz',
  46. # 'source_urls': ['https://github.com/SciTools/mo_pack/archive/'],
  47. # 'checksums': ['4aa70e1f846b666670843bc2514435dedf7393203e88abaf74d48f8f2717a726'],
  48. #}),
  49. ('basemap', '1.2.1rel', {
  50. 'modulename': 'mpl_toolkits',
  51. 'source_tmpl': 'v%(version)s.tar.gz',
  52. 'source_urls': ['https://github.com/matplotlib/basemap/archive'],
  53. 'use_pip': True,
  54. }),
  55. ]
  56. modextrapaths = {
  57. 'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages',
  58. 'PYTHONUSERBASE': '',
  59. }
  60. postinstallcmds = [
  61. "cd %(installdir)s && " +
  62. 'pip install setuptools --upgrade && ' +
  63. 'pip install olefile pyproj pyshp chardet urllib3 --prefix="%(installdir)s" && ' +
  64. 'pip install OWSLib ' +
  65. 'netCDF4 ' +
  66. 'dask ' +
  67. 'cf-units ' +
  68. 'Cartopy ' +
  69. #'Shapely ' +
  70. #'astropy ' +
  71. #'tqdm ' +
  72. #'cf-units ' +
  73. #'cftime ' +
  74. #'singledispatch ' +
  75. #'backports_abc ' +
  76. #'tornado ' +
  77. #'toolz ' +
  78. #'patsy ' +
  79. #'statsmodels ' +
  80. #'nc-time-axis ' +
  81. #'yamale ' +
  82. #'affine ' +
  83. #'boto3 ' +
  84. #'botocore ' +
  85. #'click-plugins ' +
  86. #'cligj ' +
  87. #'cloudpickle ' +
  88. #'fiona ' +
  89. #'geopandas ' +
  90. #'jmespath ' +
  91. #'munch ' +
  92. #'networkx ' +
  93. #'python-utils ' +
  94. #'rasterio ' +
  95. #'s3transfer ' +
  96. #'snuggs ' +
  97. #'xarray ' +
  98. #'PyWavelets ' +
  99. #'progressbar2 ' +
  100. #'scikit-image ' +
  101. #'descartes ' +
  102. #'graphviz ' +
  103. #'Bottleneck ' +
  104. #'pickleshare ' +
  105. #'prompt_toolkit ' +
  106. #'ptyprocess ' +
  107. #'pexpect ' +
  108. #'typelib ' +
  109. #'testpath ' +
  110. #'parso ' +
  111. #'jedi ' +
  112. #'scikit-learn ' +
  113. #'ldap3 ' +
  114. #'skills ' +
  115. #'XlsxWriter ' +
  116. #'pyrsistent ' +
  117. #'jsonschema ' +
  118. #'plotly-charts ' +
  119. #'rpy2 ' +
  120. '--prefix="%(installdir)s" '
  121. ]
  122. moduleclass = 'numlib'