summaryrefslogtreecommitdiff
path: root/var/spack/packages/py-numexpr/package.py
blob: 89f8a525b12f5abe27d24c69b5ba2ec01ab1096d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from spack import *
import re

class PyNumexpr(Package):
    """Fast numerical expression evaluator for NumPy"""
    homepage = "https://pypi.python.org/pypi/numexpr"
    url      = "https://pypi.python.org/packages/source/n/numexpr/numexpr-2.4.6.tar.gz"

    version('2.4.6', '17ac6fafc9ea1ce3eb970b9abccb4fbd')

    extends('python')
    depends_on('py-numpy')

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