Skip to content

Commit a4fd8c6

Browse files
author
Ram Mehta
committed
Make ipython separate.
1 parent 0a6c06f commit a4fd8c6

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

requirements-ipython.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pygments==1.6
2+
pyzmq==2.2.0.1
3+
tornado==2.4.1
4+
ipython==0.13.1

requirements.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@ mpmath==0.17
77
nose==1.2.1
88
pep8==1.4.5
99
pyflakes==0.6.1
10-
pygments==1.6
1110
# pyside==1.1.2
12-
pyzmq==2.2.0.1
1311
scikit-learn==0.13.1
1412
scipy==0.11.0
1513
sympy==0.7.2
16-
tornado==2.4.1
17-

wscript

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,12 @@ def build(ctx):
6262
ctx(rule=ctx.build_cvxopt, source=numpy, target=cvxopt)
6363

6464
# Install iPython separately from requirements in order to build mathjax.
65-
ctx(rule=ctx.pip_install("ipython==0.13.1"), source=numpy, target="../bin/ipython")
65+
reqs_ipython = "%s/requirements-ipython.txt" % ctx.path.abspath()
66+
ctx(
67+
rule=ctx.venv("pip install --no-index -f file://%s -r %s" % (pkg, reqs_ipython)),
68+
source=platform_deps + [numpy],
69+
target="../bin/ipython")
70+
ctx.add_manual_dependency("../bin/ipython", ctx.path.find_node("requirements-ipython.txt"))
6671
ctx(rule=ctx.build_mathjax, source="../bin/ipython", target="../.mathjax-done")
6772

6873
reqs = "%s/requirements.txt" % ctx.path.abspath()
@@ -78,6 +83,5 @@ def build(ctx):
7883
"../lib/libzmq.a",
7984
],
8085
target="../.requirements-done")
81-
8286
ctx.add_manual_dependency("../.requirements-done", ctx.path.find_node("requirements.txt"))
8387
ctx(rule="touch ${TGT}", source="../.requirements-done", target="../../.build-done")

0 commit comments

Comments
 (0)