ELIC_Python-1-intel-2019b-Python-3.7.4.eb 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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': 'intel', 'version': '2019b'}
  8. builddependencies = [
  9. ('pkg-config', '0.29.2'),
  10. ]
  11. dependencies = [
  12. ('Python', '3.7.4'),
  13. ('matplotlib', '3.1.1', versionsuffix),
  14. #('GDAL', '3.0.2', versionsuffix),
  15. #('NCL', '6.6.2'),
  16. ('CDO', '1.9.8'),
  17. ('NCO', '4.9.1'),
  18. ('ncview', '2.1.7'),
  19. ('libmo_unpack', '3.1.2'),
  20. ('orca', '1.3.0'),
  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', '20.0.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. '--prefix="%(installdir)s" '
  68. ]
  69. #pip install eofs dask cf-units Cartopy netCDF4 mpi4py GitPython keyring --user
  70. #pip install certifi requests OWSLib netCDF4 geoval Shapely dask astropy oktopus bs4 tqdm cf-units cftime pyugrid cycler singledispatch backports_abc tornado toolz patsy statsmodels nc-time-axis yamale psutil bcrypt cffi cryptography Cython decorator mpi4py numpy pandas pbr pycparser scipy six virtualenv xlrd affine atomicwrites boto3 botocore click click-plugins cligj cloudpickle configobj docutils fiona geopandas jmespath more-itertools motionless munch networkx pathlib2 pluggy py pytest python-utils rasterio s3transfer scandir snuggs xarray py-expression-eval PyWavelets attrs progressbar2 scikit-image PyNaCl descartes graphviz wcwidth Bottleneck pickleshare simplegeneric prompt_toolkit Pygments ptyprocess pexpect typelib testpath parso jedi backcall scikit-learn ldap3 skills XlsxWriter retrying pyrsistent jsonschema plotly-charts --user
  71. #pip install SkillMetrics cdo PyQt5 --user
  72. moduleclass = 'numlib'