mirror of
https://github.com/kennethreitz/conda-buildpack.git
synced 2026-06-05 23:10:17 +00:00
rehash executable path
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
export PATH=$BUILD_DIR/.heroku/miniconda/bin:$PATH
|
||||
|
||||
if [ ! -d /app/.heroku/miniconda ]; then
|
||||
puts-step "Preparing Python/Miniconda Environment"
|
||||
curl -Os https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
|
||||
bash Miniconda-latest-Linux-x86_64.sh -p /app/.heroku/miniconda/ -b | indent
|
||||
rm -fr Miniconda-latest-Linux-x86_64.sh
|
||||
|
||||
# Rehash executables in PATH.
|
||||
hash -r
|
||||
|
||||
conda update conda
|
||||
conda install pip --yes | indent
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user