ELIC_Python-1-foss-2019a-Python-3.7.2.eb 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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': '2019a'}
  8. builddependencies = [
  9. ('pkg-config', '0.29.2'),
  10. ]
  11. dependencies = [
  12. ('Python', '3.7.2'),
  13. ('matplotlib', '3.1.0', versionsuffix),
  14. ('GEOS', '3.7.2', versionsuffix),
  15. ('GDAL', '3.0.0', versionsuffix),
  16. ('NCL', '6.6.2'),
  17. ('CDO', '1.9.7.1'),
  18. ('NCO', '4.8.0'),
  19. ('ncview', '2.1.7'),
  20. ('libmo_unpack', '3.1.2'),
  21. ('orca', '1.2.1', '-nodejs-8.9.4'),
  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', '19.0.3', {
  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.2', {
  41. 'modulename': 'stratify',
  42. 'source_tmpl': 'master.zip',
  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.0', {
  51. 'modulename': 'mpl_toolkits',
  52. 'source_tmpl': 'basemap-master.zip',
  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 Pillow pyproj pyshp chardet urllib3 --install-option "--prefix=%(installdir)s" '
  65. #'pip install olefile Pillow pyproj pyshp chardet urllib3 certifi requests OWSLib netCDF4 geoval cdo 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 SkillMetrics rpy2 --install-option "--prefix=%(installdir)s" '
  66. ]
  67. moduleclass = 'numlib'