ELIC_Python-1-foss-2020b-Python-3.8.6.eb 3.9 KB

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