Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
heroku-buildpack-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Evili del Rio i Silvan
heroku-buildpack-python
Commits
9c222a93
Commit
9c222a93
authored
8 years ago
by
Kenneth Reitz
Browse files
Options
Downloads
Patches
Plain Diff
copy src
parent
7f4273f4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/compile
+7
-1
7 additions, 1 deletion
bin/compile
with
7 additions
and
1 deletion
bin/compile
+
7
−
1
View file @
9c222a93
...
@@ -146,13 +146,16 @@ bpwatch stop restore_cache
...
@@ -146,13 +146,16 @@ bpwatch stop restore_cache
mkdir
-p
$(
dirname
$PROFILE_PATH
)
mkdir
-p
$(
dirname
$PROFILE_PATH
)
# Make the directory for -e pip installations.
mkdir
-p
/app/.heroku/src
if
[[
$BUILD_DIR
!=
'/app'
]]
;
then
if
[[
$BUILD_DIR
!=
'/app'
]]
;
then
# python expects to reside in /app, so set up symlinks
# python expects to reside in /app, so set up symlinks
# we will not remove these later so subsequent buildpacks can still invoke it
# we will not remove these later so subsequent buildpacks can still invoke it
ln
-s
$BUILD_DIR
/.heroku/python /app/.heroku/python
ln
-s
$BUILD_DIR
/.heroku/python /app/.heroku/python
ln
-s
$BUILD_DIR
/.heroku/vendor /app/.heroku/vendor
ln
-s
$BUILD_DIR
/.heroku/vendor /app/.heroku/vendor
ln
-s
$BUILD_DIR
/.heroku/venv /app/.heroku/venv
ln
-s
$BUILD_DIR
/.heroku/venv /app/.heroku/venv
ln
-s
$BUILD_DIR
/.heroku/src /app/.heroku/src
# NOTE: /app/.heroku/src also exists, but is copied manually later.
fi
fi
# Install Python.
# Install Python.
...
@@ -199,6 +202,9 @@ set-default-env PYTHONPATH /app/
...
@@ -199,6 +202,9 @@ 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
deep-cp /app/.heroku/src
$BUILD_DIR
/.heroku/src
# Experimental post_compile hook.
# Experimental post_compile hook.
bpwatch start post_compile
bpwatch start post_compile
source
$BIN_DIR
/steps/hooks/post_compile
source
$BIN_DIR
/steps/hooks/post_compile
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment