summaryrefslogtreecommitdiff
path: root/var/spack/packages/py-scikit-learn/package.py
blob: 5b078ce9011ae4788abd1b6103f48ae63a3bcb91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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')

    extends('python')

    def install(self, spec, prefix):
        python('setup.py', 'install', '--prefix=%s' % prefix)