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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. ]
  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', '19.0.3', {
  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.2', {
  40. 'modulename': 'stratify',
  41. 'source_tmpl': 'master.zip',
  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.0', {
  50. 'modulename': 'mpl_toolkits',
  51. 'source_tmpl': 'basemap-master.zip',
  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 Pillow pyproj pyshp chardet urllib3 --install-option "--prefix=%(installdir)s" '
  64. #'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 --install-option "--prefix=%(installdir)s" '
  65. ]
  66. moduleclass = 'numlib'