28 lines
1.0 KiB
Plaintext
Executable File
28 lines
1.0 KiB
Plaintext
Executable File
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"
|
|
|
|
version('2.3.1', '2b7085525dac11190bfb45bb8ec8dcbf',
|
|
url="https://pypi.python.org/packages/source/i/ipython/ipython-2.3.1.tar.gz")
|
|
version('3.1.0', 'a749d90c16068687b0ec45a27e72ef8f')
|
|
version('3.2.1', 'f4c93d67ac4b2d4fc69df693b6f3c9e0',
|
|
url='https://github.com/ipython/ipython/archive/rel-3.2.1.tar.gz')
|
|
|
|
extends('python')
|
|
depends_on('py-pygments')
|
|
depends_on('py-setuptools@18.1')
|
|
depends_on('py-traitlets')
|
|
depends_on('py-pyzmq')
|
|
depends_on('py-pexpect')
|
|
depends_on('py-tornado')
|
|
depends_on('py-Jinja2')
|
|
|
|
def install(self, spec, prefix):
|
|
import os
|
|
# os.system("spack activate py-setuptools@18.1")
|
|
# os.system("easy_install pip")
|
|
# os.system("pip install ipython[notebook]")
|
|
python('setup.py', 'install', '--prefix=%s' % prefix)
|