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
197b7bae
Commit
197b7bae
authored
Dec 19, 2016
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'egg-links'
parents
d35ee2c1
f468739c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
CHANGELOG.md
CHANGELOG.md
+4
-0
compile
bin/compile
+12
-2
No files found.
CHANGELOG.md
View file @
197b7bae
# Python Buildpack Changelog
# Python Buildpack Changelog
## v89
Improved cache functionality and fix egg-links regression.
## v88
## v88
Fixed bug with editable pip installations.
Fixed bug with editable pip installations.
...
...
bin/compile
View file @
197b7bae
...
@@ -142,6 +142,11 @@ bpwatch start restore_cache
...
@@ -142,6 +142,11 @@ bpwatch start restore_cache
cp
-R
$CACHE_DIR
/.heroku/vendor .heroku/ &> /dev/null
||
true
cp
-R
$CACHE_DIR
/.heroku/vendor .heroku/ &> /dev/null
||
true
cp
-R
$CACHE_DIR
/.heroku/venv .heroku/ &> /dev/null
||
true
cp
-R
$CACHE_DIR
/.heroku/venv .heroku/ &> /dev/null
||
true
if
[[
-d
$CACHE_DIR
/.heroku/src
]]
;
then
cp
-R
$CACHE_DIR
/.heroku/src .heroku/ &> /dev/null
||
true
fi
bpwatch stop restore_cache
bpwatch stop restore_cache
mkdir
-p
$(
dirname
$PROFILE_PATH
)
mkdir
-p
$(
dirname
$PROFILE_PATH
)
...
@@ -202,8 +207,11 @@ set-default-env PYTHONPATH /app/
...
@@ -202,8 +207,11 @@ set-default-env PYTHONPATH /app/
# Install sane-default script for $WEB_CONCURRENCY and $FORWARDED_ALLOW_IPS.
# Install sane-default script for $WEB_CONCURRENCY and $FORWARDED_ALLOW_IPS.
cp
$ROOT_DIR
/vendor/python.gunicorn.sh
$GUNICORN_PROFILE_PATH
cp
$ROOT_DIR
/vendor/python.gunicorn.sh
$GUNICORN_PROFILE_PATH
# Deep copy the directory for -e pip installations
# Symlink the directory for -e pip installations
deep-cp /app/.heroku/src
$BUILD_DIR
/.heroku/src
if
[[
$BUILD_DIR
!=
'/app'
]]
;
then
mv
/app/.heroku/src
$BUILD_DIR
/.heroku
ln
-s
/app/.heroku/src
$BUILD_DIR
/.heroku/src
fi
# Experimental post_compile hook.
# Experimental post_compile hook.
bpwatch start post_compile
bpwatch start post_compile
...
@@ -218,6 +226,7 @@ bpwatch start dump_cache
...
@@ -218,6 +226,7 @@ bpwatch start dump_cache
rm
-rf
$CACHE_DIR
/.heroku/python-stack
rm
-rf
$CACHE_DIR
/.heroku/python-stack
rm
-rf
$CACHE_DIR
/.heroku/vendor
rm
-rf
$CACHE_DIR
/.heroku/vendor
rm
-rf
$CACHE_DIR
/.heroku/venv
rm
-rf
$CACHE_DIR
/.heroku/venv
rm
-rf
$CACHE_DIR
/.heroku/src
mkdir
-p
$CACHE_DIR
/.heroku
mkdir
-p
$CACHE_DIR
/.heroku
cp
-R
.heroku/python
$CACHE_DIR
/.heroku/
cp
-R
.heroku/python
$CACHE_DIR
/.heroku/
...
@@ -225,6 +234,7 @@ bpwatch start dump_cache
...
@@ -225,6 +234,7 @@ bpwatch start dump_cache
cp
-R
.heroku/python-stack
$CACHE_DIR
/.heroku/ &> /dev/null
||
true
cp
-R
.heroku/python-stack
$CACHE_DIR
/.heroku/ &> /dev/null
||
true
cp
-R
.heroku/vendor
$CACHE_DIR
/.heroku/ &> /dev/null
||
true
cp
-R
.heroku/vendor
$CACHE_DIR
/.heroku/ &> /dev/null
||
true
cp
-R
.heroku/venv
$CACHE_DIR
/.heroku/ &> /dev/null
||
true
cp
-R
.heroku/venv
$CACHE_DIR
/.heroku/ &> /dev/null
||
true
cp
-R
.heroku/src
$CACHE_DIR
/.heroku/ &> /dev/null
||
true
bpwatch stop dump_cache
bpwatch stop dump_cache
...
...
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