summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-ipython/package.py
blob: 8d0e64a07f10350eb6bee408f08d806c30caf1a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from spack import *

class PyIpython(Package):
    """IPython provides a rich toolkit to help you make the most out of using Python interactively."""
    homepage = "https://pypi.python.org/pypi/ipython"
    url      = "https://pypi.python.org/packages/source/i/ipython/ipython-2.3.1.tar.gz"

    version('2.3.1', '2b7085525dac11190bfb45bb8ec8dcbf')
    version('3.1.0', 'a749d90c16068687b0ec45a27e72ef8f')

    extends('python')
    depends_on('py-pygments')
    depends_on('py-setuptools')

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