ELIC_Python-0-foss-2021b-o.eb 3.8 KB

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