fix for heroku ci (#392)

* attempted fix

* added a comment

* fixes

* improved changelog
This commit is contained in:
2017-05-26 07:22:52 -07:00
committed by GitHub
parent e621ff4d5e
commit e8a79bbda5
2 changed files with 16 additions and 2 deletions
+10
View File
@@ -1,5 +1,15 @@
# Python Buildpack Changelog
## 103
Bug fixes and improvements.
- Fix for Pipenv.
- Fix for Heroku CI.
- Improve handling of WEB_CONCURRENCY when using multiple buildpacks.
- Adjust environment variables set during the build to more closely match those in the dyno environment (DYNO is now available, STACK is not).
- Restore the build cache prior to running bin/pre_compile.
## 102
Buildpack code cleanup.
+6 -2
View File
@@ -192,8 +192,12 @@ sub-env $BIN_DIR/steps/nltk
mtime "nltk.download.time" "${start}"
# Support for pip install -e.
rm -fr $BUILD_DIR/.heroku/src
deep-cp /app/.heroku/src $BUILD_DIR/.heroku/src
# In CI, $BUILD_DIR is /app.
if [[ ! "$BUILD_DIR" == "/app" ]]; then
rm -fr $BUILD_DIR/.heroku/src
deep-cp /app/.heroku/src $BUILD_DIR/.heroku/src
fi
# Django collectstatic support.
let start=$(nowms)