Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
OpenEdx
configuration
Commits
92dbe9dc
Commit
92dbe9dc
authored
Jan 21, 2016
by
Fred Smith
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2716 from arbrandes/issue-2714
Freeze pip, setuptools, and virtualenv
parents
b5aa3c22
464c9734
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
util/install/ansible-bootstrap.sh
+4
-1
util/install/sandbox.sh
+3
-3
No files found.
util/install/ansible-bootstrap.sh
View file @
92dbe9dc
...
@@ -37,6 +37,8 @@ fi
...
@@ -37,6 +37,8 @@ fi
# Bootstrapping constants
# Bootstrapping constants
#
#
VIRTUAL_ENV_VERSION
=
"13.1.2"
VIRTUAL_ENV_VERSION
=
"13.1.2"
PIP_VERSION
=
"7.1.2"
SETUPTOOLS_VERSION
=
"18.3.2"
VIRTUAL_ENV
=
"/tmp/bootstrap"
VIRTUAL_ENV
=
"/tmp/bootstrap"
PYTHON_BIN
=
"
${
VIRTUAL_ENV
}
/bin"
PYTHON_BIN
=
"
${
VIRTUAL_ENV
}
/bin"
ANSIBLE_DIR
=
"/tmp/ansible"
ANSIBLE_DIR
=
"/tmp/ansible"
...
@@ -108,10 +110,11 @@ add-apt-repository -y "${EDX_PPA}"
...
@@ -108,10 +110,11 @@ add-apt-repository -y "${EDX_PPA}"
apt-get update
-y
apt-get update
-y
apt-get install
-y
build-essential
sudo
git-core python2.7 python2.7-dev python-pip python-apt python-yaml python-jinja2 libmysqlclient-dev
apt-get install
-y
build-essential
sudo
git-core python2.7 python2.7-dev python-pip python-apt python-yaml python-jinja2 libmysqlclient-dev
pip install
--upgrade
pip
setuptools
pip install
--upgrade
pip
==
"
${
PIP_VERSION
}
"
# pip moves to /usr/local/bin when upgraded
# pip moves to /usr/local/bin when upgraded
PATH
=
/usr/local/bin:
${
PATH
}
PATH
=
/usr/local/bin:
${
PATH
}
pip install
setuptools
==
"
${
SETUPTOOLS_VERSION
}
"
pip install
virtualenv
==
"
${
VIRTUAL_ENV_VERSION
}
"
pip install
virtualenv
==
"
${
VIRTUAL_ENV_VERSION
}
"
# create a new virtual env
# create a new virtual env
...
...
util/install/sandbox.sh
View file @
92dbe9dc
...
@@ -32,9 +32,9 @@ sudo apt-get upgrade -y
...
@@ -32,9 +32,9 @@ sudo apt-get upgrade -y
## Install system pre-requisites
## Install system pre-requisites
##
##
sudo
apt-get install
-y
build-essential software-properties-common curl git-core libxml2-dev libxslt1-dev python-pip libmysqlclient-dev python-apt python-dev libxmlsec1-dev libfreetype6-dev swig gcc-4.8 g++-4.8
sudo
apt-get install
-y
build-essential software-properties-common curl git-core libxml2-dev libxslt1-dev python-pip libmysqlclient-dev python-apt python-dev libxmlsec1-dev libfreetype6-dev swig gcc-4.8 g++-4.8
sudo
pip install
--upgrade
pip
sudo
pip install
--upgrade
pip
==
7.1.2
sudo
pip install
--upgrade
setuptools
sudo
pip install
--upgrade
setuptools
==
18.3.2
sudo
-H
pip install
--upgrade
virtualenv
sudo
-H
pip install
--upgrade
virtualenv
==
13.1.2
##
##
## Update alternatives so that gcc/g++ 4.8 is the default compiler
## Update alternatives so that gcc/g++ 4.8 is the default compiler
...
...
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