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
c373e80c
Commit
c373e80c
authored
Mar 06, 2018
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove cryptogrpahy step, as they ship wheels now
Signed-off-by:
Kenneth Reitz
<
me@kennethreitz.org
>
parent
ce5ff238
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
42 deletions
+0
-42
compile
bin/compile
+0
-4
cryptography
bin/steps/cryptography
+0
-38
No files found.
bin/compile
View file @
c373e80c
...
@@ -186,10 +186,6 @@ source "$BIN_DIR/steps/mercurial"
...
@@ -186,10 +186,6 @@ source "$BIN_DIR/steps/mercurial"
# shellcheck source=bin/steps/pylibmc
# shellcheck source=bin/steps/pylibmc
source
"
$BIN_DIR
/steps/pylibmc"
source
"
$BIN_DIR
/steps/pylibmc"
# Libffi support.
# shellcheck source=bin/steps/cryptography
source
"
$BIN_DIR
/steps/cryptography"
# Support for Geo libraries.
# Support for Geo libraries.
# shellcheck source=bin/steps/geo-libs
# shellcheck source=bin/steps/geo-libs
sub_env
"
$BIN_DIR
/steps/geo-libs"
sub_env
"
$BIN_DIR
/steps/geo-libs"
...
...
bin/steps/cryptography
deleted
100755 → 0
View file @
ce5ff238
#!/usr/bin/env bash
# This script serves as the cffi build step of the
# [**Python Buildpack**](https://github.com/heroku/heroku-buildpack-python)
# compiler.
#
# A [buildpack](https://devcenter.heroku.com/articles/buildpacks) is an
# adapter between a Python application and Heroku's runtime.
#
# This script is invoked by [`bin/compile`](/).
if
[[
"
$STACK
"
==
"heroku-16"
]]
;
then
# libffi is pre-installed in the stack image so there is no need to vendor it.
return
0
fi
# The location of the pre-compiled libffi binary.
VENDORED_LIBFFI
=
"
${
VENDOR_URL
}
/libraries/vendor/libffi.tar.gz"
PKG_CONFIG_PATH
=
"/app/.heroku/vendor/lib/pkgconfig:
$PKG_CONFIG_PATH
"
# Syntax sugar.
# shellcheck source=bin/utils
source
"
$BIN_DIR
/utils"
# If a package using cffi exists within requirements, use vendored libffi.
if
(
pip-grep
-s
requirements.txt argon2-cffi bcrypt cffi cryptography django[argon2] Django[argon2] django[bcrypt] Django[bcrypt] PyNaCl pyOpenSSL PyOpenSSL requests[security] misaka &> /dev/null
)
then
if
[
!
-d
".heroku/vendor/lib/libffi-3.1"
]
;
then
echo
"-----> Noticed cffi. Bootstrapping libffi."
mkdir
-p
.heroku/vendor
# Download and extract libffi into target vendor directory.
curl
"
$VENDORED_LIBFFI
"
-s
|
tar
zxv
-C
.heroku/vendor &> /dev/null
fi
LIBFFI
=
$(
pwd
)
/vendor
export
LIBFFI
fi
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