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
a1bb822c
Commit
a1bb822c
authored
Nov 04, 2015
by
Ben Patterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generify message. User will see context in previous console line.
parent
3f79dd0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
pavelib/prereqs.py
+5
-4
No files found.
pavelib/prereqs.py
View file @
a1bb822c
...
...
@@ -11,6 +11,7 @@ from .utils.envs import Env
PREREQS_MD5_DIR
=
os
.
getenv
(
'PREREQ_CACHE_DIR'
,
Env
.
REPO_ROOT
/
'.prereqs_cache'
)
NPM_REGISTRY
=
"http://registry.npmjs.org/"
NO_PREREQ_MESSAGE
=
"NO_PREREQ_INSTALL is set, not installing prereqs"
# If you make any changes to this list you also need to make
# a corresponding change to circle.yml, which is how the python
...
...
@@ -147,7 +148,7 @@ def install_ruby_prereqs():
Installs Ruby prereqs
"""
if
no_prereq_install
():
print
"NO_PREREQ_INSTALL is set, not installing Ruby prereqs"
print
NO_PREREQ_MESSAGE
return
prereq_cache
(
"Ruby prereqs"
,
[
"Gemfile"
],
ruby_prereqs_installation
)
...
...
@@ -159,7 +160,7 @@ def install_node_prereqs():
Installs Node prerequisites
"""
if
no_prereq_install
():
print
"NO_PREREQ_INSTALL is set, not installing node prereqs"
print
NO_PREREQ_MESSAGE
return
prereq_cache
(
"Node prereqs"
,
[
"package.json"
],
node_prereqs_installation
)
...
...
@@ -171,7 +172,7 @@ def install_python_prereqs():
Installs Python prerequisites
"""
if
no_prereq_install
():
print
"NO_PREREQ_INSTALL is set, not installing Python prereqs"
print
NO_PREREQ_MESSAGE
return
prereq_cache
(
"Python prereqs"
,
PYTHON_REQ_FILES
+
[
sysconfig
.
get_python_lib
()],
python_prereqs_installation
)
...
...
@@ -183,7 +184,7 @@ def install_prereqs():
Installs Ruby, Node and Python prerequisites
"""
if
no_prereq_install
():
print
"NO_PREREQ_INSTALL is set, not installing any prereqs"
print
NO_PREREQ_MESSAGE
return
install_ruby_prereqs
()
...
...
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