/sci-python/2.7/scripts/requirements.sh

https://github.com/Haizhi/docker-brew-datacanvas-base · Shell · 106 lines · 69 code · 5 blank · 32 comment · 0 complexity · 1fbd7bb3ef29146cde47708ebf4d5dcc MD5 · raw file

  1. #!/bin/bash
  2. #
  3. # Copyright (c) 2014 Science Automation, Inc. http://www.scivm.com. All rights reserved.
  4. #
  5. # email: contact@scivm.com
  6. # support: http://support.scivm.com
  7. #
  8. # The MIT License (MIT)
  9. #
  10. # Permission is hereby granted, free of charge, to any person obtaining a copy
  11. # of this software and associated documentation files (the "Software"), to deal
  12. # in the Software without restriction, including without limitation the rights
  13. # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  14. # copies of the Software, and to permit persons to whom the Software is
  15. # furnished to do so, subject to the following conditions:
  16. #
  17. # The above copyright notice and this permission notice shall be included in all
  18. # copies or substantial portions of the Software. The motd file shall remain
  19. # included to the Dockerfile and unmodified.
  20. #
  21. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  22. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  23. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  24. # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  25. # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  26. # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  27. # SOFTWARE.
  28. #
  29. export LD_LIBRARY_PATH=/usr/local/lib/intel
  30. # build numpy from source to use mkl blas and lapack
  31. cd /tmp
  32. gunzip numpy-1.8.0.tar.gz
  33. tar xvf numpy-1.8.0.tar
  34. cd numpy-1.8.0
  35. cp /tmp/site.cfg .
  36. python setup.py config install
  37. cd /tmp
  38. rm -r -f /tmp/numpy-1.8.0 numpy-1.8.0.tar.gz
  39. # build scipy from source to use mkl blas and lapack
  40. cd /tmp
  41. gunzip scipy-0.13.2.tar.gz
  42. tar xvf scipy-0.13.2.tar
  43. cd scipy-0.13.2
  44. python setup.py config install
  45. cd /tmp
  46. rm -r -f /tmp/scipy-0.13.2 scipy-0.13.2
  47. # install rest of scipy
  48. pip install distribute==0.6.49
  49. pip install pyzmq==14.0.0
  50. pip install ipython==1.1.0
  51. pip install matplotlib==1.3.1
  52. pip install pandas==0.12.0
  53. pip install sympy==0.7.3
  54. pip install nose==1.3.0
  55. # other packages
  56. pip install argparse==1.2.1
  57. pip install beautifulsoup==3.2.0
  58. pip install biopython==1.62
  59. pip install boto==2.15.0
  60. pip install cython==0.19.2
  61. pip install faulthandler==2.2
  62. pip install h5py==2.2.0
  63. pip install html5lib==0.99
  64. pip install httplib2==0.8
  65. pip install lxml==3.2.3
  66. pip install mdp==3.3
  67. pip install mysql-python==1.2.4
  68. pip install nltk==2.0.4
  69. pip install numexpr==2.2.2
  70. pip install oursql==0.9.3.1
  71. pip install paramiko==1.8.0
  72. pip install PIL==1.1.7
  73. pip install ply==3.4
  74. pip install psutil==1.1.3
  75. pip install psycopg2==2.5.1
  76. pip install pycrypto==2.6.1
  77. pip install pyface==4.3.0
  78. pip install pyfits==3.1.2
  79. pip install pyflakes==0.7.3
  80. pip install pyglet==1.1.4
  81. pip install pymc==2.3
  82. pip install pyparsing==2.0.1
  83. pip install Pyrex==0.9.9
  84. pip install python-dateutil==2.1
  85. pip install pytz==2013.7
  86. pip install PyYAML==3.10
  87. pip install scikits-image==0.7.1
  88. pip install scikit-learn==0.14.1
  89. pip install patsy==0.2.1
  90. pip install statsmodels==0.5.0
  91. pip install simplejson==3.3.1
  92. pip install six==1.4.1
  93. pip install SQLAlchemy==0.8.3
  94. pip install storm==0.20
  95. pip install tables==3.0.0
  96. pip install tornado==3.1.1
  97. pip install traits==4.3.0
  98. pip install traitsui==4.3.0
  99. pip install Twisted==13.1.0
  100. pip install wsgiref==0.1.2
  101. pip install zope.interface==4.0.5