Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a267f5ec
Commit
a267f5ec
authored
May 31, 2013
by
Slater-Victoroff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pull request comments addressed, if else condition cleaned up
parent
c5b95e39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
scripts/create-dev-env.sh
+7
-2
No files found.
scripts/create-dev-env.sh
View file @
a267f5ec
...
...
@@ -392,8 +392,12 @@ if [[ `type -t mkvirtualenv` != "function" ]]; then
source
`
which virtualenvwrapper.sh
`
;;
*
)
squeeze|wheezy|jessie|maya|lisa|olivia|nadia|natty|oneiric|precise|quantal|raring
)
if
[[
-f
"/etc/bash_completion.d/virtualenvwrapper"
]]
;
then
source
/etc/bash_completion.d/virtualenvwrapper
else
error
"Could not find virtualenvwrapper"
exit
1
;;
esac
fi
...
...
@@ -420,7 +424,7 @@ fi
NUMPY_VER
=
"1.6.2"
SCIPY_VER
=
"0.10.1"
if
[[
-n
$compile
]]
;
then
if
[[
!
-n
$compile
]]
;
then
output
"Downloading numpy and scipy"
curl
-sL
-o
numpy.tar.gz http://downloads.sourceforge.net/project/numpy/NumPy/
${
NUMPY_VER
}
/numpy-
${
NUMPY_VER
}
.tar.gz
curl
-sL
-o
scipy.tar.gz http://downloads.sourceforge.net/project/scipy/scipy/
${
SCIPY_VER
}
/scipy-
${
SCIPY_VER
}
.tar.gz
...
...
@@ -455,6 +459,7 @@ if [[ "$DISTRIBUTE_VERSION" == "distribute==0.6.28" ]]; then
output
"Distribute successfully installed"
else
error
"Distribute failed to build correctly. This script requires a working version of Distribute 0.6.28 in your virtualenv's python installation"
exit
1
fi
case
`
uname
-s
`
in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment