Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
05e3d8cc
Commit
05e3d8cc
authored
Mar 07, 2018
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix mercurial step
Signed-off-by:
Kenneth Reitz
<
me@kennethreitz.org
>
parent
2f18118c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
mercurial
bin/steps/mercurial
+5
-2
pip-grep
vendor/pip-pop/pip-grep
+2
-1
No files found.
bin/steps/mercurial
View file @
05e3d8cc
#!/usr/bin/env bash
#!/usr/bin/env bash
# Install Mercurial if it appears to be required.
# Install Mercurial if it appears to be required.
if
(
grep
-Fiq
"hg+"
requirements.txt
)
then
if
[[
-f
"requirements.txt"
]]
;
then
/app/.heroku/python/bin/pip
install
mercurial | cleanup | indent
if
(
grep
-Fiq
"hg+"
requirements.txt
)
then
/app/.heroku/python/bin/pip
install
mercurial | cleanup | indent
fi
fi
fi
vendor/pip-pop/pip-grep
View file @
05e3d8cc
...
@@ -8,6 +8,7 @@ Options:
...
@@ -8,6 +8,7 @@ Options:
-h --help Show this screen.
-h --help Show this screen.
"""
"""
import
os
import
os
import
sys
from
docopt
import
docopt
from
docopt
import
docopt
from
pip.req
import
parse_requirements
from
pip.req
import
parse_requirements
from
pip.index
import
PackageFinder
from
pip.index
import
PackageFinder
...
@@ -73,5 +74,5 @@ if __name__ == '__main__':
...
@@ -73,5 +74,5 @@ if __name__ == '__main__':
try
:
try
:
main
()
main
()
except
Exception
:
except
Exception
:
pass
sys
.
exit
(
1
)
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