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
a7976fc1
Commit
a7976fc1
authored
Jun 24, 2016
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
87d03e62
928a6645
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
.travis.yml
.travis.yml
+2
-0
README.md
README.md
+2
-1
cryptography
bin/steps/cryptography
+2
-2
pip-grep
vendor/pip-pop/pip-grep
+1
-1
No files found.
.travis.yml
0 → 100644
View file @
a7976fc1
sudo
:
false
script
:
exit 0
R
eadme
.md
→
R
EADME
.md
View file @
a7976fc1
-!
[
python
](
https://cloud.githubusercontent.com/assets/51578/13712821/b68a42ce-e793-11e5-96b0-d8eb978137ba.png
)
# Heroku Buildpack: Python

This is the official
[
Heroku buildpack
](
https://devcenter.heroku.com/articles/buildpacks
)
for Python apps, powered by
[
pip
](
https://pip.pypa.io/
)
and other excellent software.
...
...
bin/steps/cryptography
View file @
a7976fc1
#!/usr/bin/env bash
# This script serves as the
Pylibmc
build step of the
# This script serves as the
Cryptography
build step of the
# [**Python Buildpack**](https://github.com/heroku/heroku-buildpack-python)
# compiler.
#
...
...
@@ -20,7 +20,7 @@ source $BIN_DIR/utils
bpwatch start libffi_install
# If a package using cffi exists within requirements, use vendored libffi.
if
(
pip-grep
-s
requirements.txt bcrypt cffi cryptography django[bcrypt] Django[bcrypt] PyNaCl pyOpenSSL PyOpenSSL requests[security] &> /dev/null
)
then
if
(
pip-grep
-s
requirements.txt bcrypt cffi cryptography django[bcrypt] Django[bcrypt] PyNaCl pyOpenSSL PyOpenSSL requests[security]
misaka
&> /dev/null
)
then
if
[
-d
".heroku/vendor/lib/libffi-3.1.1"
]
;
then
export
LIBFFI
=
$(
pwd
)
/vendor
...
...
vendor/pip-pop/pip-grep
View file @
a7976fc1
...
...
@@ -62,7 +62,7 @@ def grep(reqfile, packages, silent=False):
exit
(
0
)
if
not
silent
:
print
(
'Not found.'
.
format
(
requirement
.
req
.
project_name
)
)
print
(
'Not found.'
)
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