File tree Expand file tree Collapse file tree 5 files changed +8
-2
lines changed Expand file tree Collapse file tree 5 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ if (pip-grep -s requirements.txt GDAL gdal pygdal &> /dev/null) then
26
26
mkdir -p .heroku/vendor
27
27
# Download and extract cryptography into target vendor directory.
28
28
curl " $VENDORED_GDAL " -s | tar zxv -C .heroku/vendor & > /dev/null
29
+ mcount " steps.vendor.gdal"
29
30
fi
30
31
31
32
GDAL=$( pwd) /vendor
32
33
export GDAL
33
34
fi
34
-
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ source "$BIN_DIR/utils"
22
22
23
23
# If GDAL exists within requirements, use vendored gdal.
24
24
if [[ " $BUILD_WITH_GEO_LIBRARIES " ]]; then
25
+ mcount " buildvar.BUILD_WITH_GEO_LIBRARIES"
25
26
26
27
if [ ! -f " .heroku/vendor/bin/proj" ]; then
27
28
echo " -----> Bootstrapping gdal, geos, proj."
@@ -31,9 +32,11 @@ if [[ "$BUILD_WITH_GEO_LIBRARIES" ]]; then
31
32
curl " $VENDORED_GEOS " -s | tar zxv -C .heroku/vendor & > /dev/null
32
33
curl " $VENDORED_PROJ " -s | tar zxv -C .heroku/vendor & > /dev/null
33
34
35
+ mcount " steps.vendor.geo_libs"
34
36
# Copy libjasper from build image to slug.
35
37
if [[ " $STACK " == " heroku-16" ]]; then
36
38
cp /usr/lib/x86_64-linux-gnu/libjasper.so* " .heroku/vendor/lib/."
39
+ mcount " steps.vendor.libjasper"
37
40
fi
38
41
39
42
fi
Original file line number Diff line number Diff line change 4
4
if [[ -f " requirements.txt" ]]; then
5
5
if (grep -Fiq " hg+" requirements.txt) then
6
6
/app/.heroku/python/bin/pip install mercurial | cleanup | indent
7
+ mcount " steps.mercurial"
7
8
fi
8
9
fi
9
-
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ if sp-grep -s nltk; then
27
27
python -m nltk.downloader -d " $BUILD_DIR /.heroku/python/nltk_data" " ${nltk_packages[@]} " | indent
28
28
set_env NLTK_DATA " /app/.heroku/python/nltk_data"
29
29
30
+ mcount " buildvar.NLTK_PACKAGES_DEFINITION"
31
+ mcount " steps.nltk"
30
32
else
31
33
puts-warn " 'nltk.txt' not found, not downloading any corpora"
32
34
puts-warn " Learn more: https://devcenter.heroku.com/articles/python-nltk"
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ if (pip-grep -s requirements.txt pylibmc &> /dev/null) then
29
29
mkdir -p .heroku/vendor
30
30
# Download and extract libmemcached into target vendor directory.
31
31
curl " $VENDORED_MEMCACHED " -s | tar zxv -C .heroku/vendor & > /dev/null
32
+ mcount " steps.vendor.pylibmc"
32
33
fi
33
34
34
35
LIBMEMCACHED=$( pwd) /vendor
You can’t perform that action at this time.
0 commit comments