blob: 2d7985b98c3bf67b7faeb41dedab0f27044cf626 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
from spack import *
class PyScikitLearn(Package):
""""""
homepage = "https://pypi.python.org/pypi/scikit-learn"
url = "https://pypi.python.org/packages/source/s/scikit-learn/scikit-learn-0.15.2.tar.gz"
version('0.15.2', 'd9822ad0238e17b382a3c756ea94fe0d')
version('0.16.1', '363ddda501e3b6b61726aa40b8dbdb7e')
version('0.17.1', 'a2f8b877e6d99b1ed737144f5a478dfc')
extends('python')
depends_on('py-setuptools')
depends_on('py-numpy')
depends_on('py-scipy')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)
|