Revert "clean up package.py file and remove duplicate file"

This reverts commit c809cc9273.
This commit is contained in:
Gregory Becker 2016-01-08 14:13:33 -08:00
parent d2da41b0bd
commit 1b0d064743
2 changed files with 31 additions and 0 deletions

View file

@ -24,4 +24,8 @@ class PyIpython(Package):
depends_on('py-jinja2') depends_on('py-jinja2')
def install(self, spec, prefix): 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) python('setup.py', 'install', '--prefix=%s' % prefix)

View file

@ -0,0 +1,27 @@
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)