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
d6edbd5e
Commit
d6edbd5e
authored
Jul 11, 2013
by
James Tauber
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #377 from edx/jtauber/fix-virtualenv-directory
Use $WORKON_HOME consistently for virtualenv.
parents
8b13ff3d
047da7a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scripts/create-dev-env.sh
+3
-3
No files found.
scripts/create-dev-env.sh
View file @
d6edbd5e
...
...
@@ -404,14 +404,14 @@ fi
# Create edX virtualenv and link it to repo
# virtualenvwrapper automatically sources the activation script
if
[[
$systempkgs
]]
;
then
mkvirtualenv
-q
-a
"
$
HOME
/.virtualenvs
"
--system-site-packages
edx-platform
||
{
mkvirtualenv
-q
-a
"
$
WORKON_HOME
"
--system-site-packages
edx-platform
||
{
error
"mkvirtualenv exited with a non-zero error"
return
1
}
else
# default behavior for virtualenv>1.7 is
# --no-site-packages
mkvirtualenv
-q
-a
"
$
HOME
/.virtualenvs
"
edx-platform
||
{
mkvirtualenv
-q
-a
"
$
WORKON_HOME
"
edx-platform
||
{
error
"mkvirtualenv exited with a non-zero error"
return
1
}
...
...
@@ -443,7 +443,7 @@ fi
# building correct version of distribute from source
DISTRIBUTE_VER
=
"0.6.28"
output
"Building Distribute"
SITE_PACKAGES
=
"
$
HOME
/.virtualenvs
/edx-platform/lib/python2.7/site-packages"
SITE_PACKAGES
=
"
$
WORKON_HOME
/edx-platform/lib/python2.7/site-packages"
cd
"
$SITE_PACKAGES
"
curl
-sSLO
http://pypi.python.org/packages/source/d/distribute/distribute-
${
DISTRIBUTE_VER
}
.tar.gz
tar
-xzvf
distribute-
${
DISTRIBUTE_VER
}
.tar.gz
...
...
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