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
251b7f79
Commit
251b7f79
authored
Dec 18, 2016
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
copy the -e directory instead of symlinking
parent
6d491f9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
compile
bin/compile
+3
-2
No files found.
bin/compile
View file @
251b7f79
...
...
@@ -154,7 +154,7 @@ bpwatch stop restore_cache
mkdir
-p
$(
dirname
$PROFILE_PATH
)
# Make the directory for -e pip installations.
mkdir
-p
/
$
BUILD_DIR
/.heroku/src
mkdir
-p
/
$
app
/.heroku/src
if
[[
$BUILD_DIR
!=
'/app'
]]
;
then
# python expects to reside in /app, so set up symlinks
...
...
@@ -162,7 +162,6 @@ if [[ $BUILD_DIR != '/app' ]]; then
ln
-s
$BUILD_DIR
/.heroku/python /app/.heroku/python
ln
-s
$BUILD_DIR
/.heroku/vendor /app/.heroku/vendor
ln
-s
$BUILD_DIR
/.heroku/venv /app/.heroku/venv
ln
-s
$BUILD_DIR
/.heroku/src /app/.heroku/src
fi
# Install Python.
...
...
@@ -209,6 +208,8 @@ set-default-env PYTHONPATH /app/
# Install sane-default script for $WEB_CONCURRENCY and $FORWARDED_ALLOW_IPS.
cp
$ROOT_DIR
/vendor/python.gunicorn.sh
$GUNICORN_PROFILE_PATH
# Deep copy the directory for -e pip installations
deep-cp /app/.heroku/src
$BUILD_DIR
/.heroku/src
# Experimental post_compile hook.
bpwatch start post_compile
...
...
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