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
f4bfe464
Commit
f4bfe464
authored
Aug 08, 2014
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Friendly error message if you don't have dependencies installed
parent
938b4f81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
scripts/release.py
+12
-5
No files found.
scripts/release.py
View file @
f4bfe464
...
...
@@ -4,19 +4,26 @@ a release-master multitool
"""
from
__future__
import
print_function
,
unicode_literals
import
sys
from
path
import
path
from
git
import
Repo
,
Commit
from
git.refs.symbolic
import
SymbolicReference
import
argparse
from
datetime
import
date
,
timedelta
from
dateutil.parser
import
parse
as
parse_datestring
import
re
import
collections
import
functools
import
textwrap
import
requests
import
json
import
getpass
try
:
from
path
import
path
from
git
import
Repo
,
Commit
from
git.refs.symbolic
import
SymbolicReference
from
dateutil.parser
import
parse
as
parse_datestring
import
requests
except
ImportError
:
print
(
"Error: missing dependencies! Please run this command to install them:"
)
print
(
"pip install path.py requests python-dateutil GitPython==0.3.2.RC1"
)
sys
.
exit
(
1
)
try
:
from
pygments.console
import
colorize
except
ImportError
:
...
...
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