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
942e7b6f
Commit
942e7b6f
authored
Jul 31, 2012
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding option back for --system-site-packages, will ensure virtualenv > 1.7
parent
5fd8567e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
create-dev-env.sh
+7
-5
No files found.
create-dev-env.sh
View file @
942e7b6f
...
...
@@ -38,7 +38,7 @@ usage() {
Usage:
$PROG
[-c] [-v] [-h]
-c compile scipy and numpy
-s
do _not_ set --no-site-packages for virtualenv
-s
give access to global site-packages for virtualenv
-v set -x + spew
-h this
...
...
@@ -229,7 +229,7 @@ case `uname -s` in
}
command
-v
virtualenv &>/dev/null
||
{
output
"Installing virtualenv"
sudo
pip install
virtualenv
virtualenvwrapper
sudo
pip install
'virtualenv>1.7'
virtualenvwrapper
}
command
-v
coffee &>/dev/null
||
{
output
"Installing coffee script"
...
...
@@ -248,10 +248,12 @@ curl -sL get.rvm.io | bash -s stable
source
$RUBY_DIR
/scripts/rvm
# skip the intro
LESS
=
"-E"
rvm install
$RUBY_VER
if
[[
-n
$systempkgs
]]
;
then
virtualenv
"
$PYTHON_DIR
"
if
[[
$systempkgs
]]
;
then
virtualenv
--system-site-packages
"
$PYTHON_DIR
"
else
virtualenv
--no-site-packages
"
$PYTHON_DIR
"
# default behavior for virtualenv>1.7 is
# --no-site-packages
virtualenv
"
$PYTHON_DIR
"
fi
source
$PYTHON_DIR
/bin/activate
output
"Installing gem bundler"
...
...
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