mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
sudo: false
|
||||
script: exit 0
|
||||
@@ -1,5 +1,6 @@
|
||||
-
|
||||
|
||||
# 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.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/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
|
||||
|
||||
Vendored
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user