clean up package.py file and remove duplicate file

This commit is contained in:
karenyyng 2015-10-03 19:24:15 -07:00
parent f3254ff02d
commit c809cc9273
2 changed files with 0 additions and 31 deletions

View file

@ -24,8 +24,4 @@ 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

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