Skip to content

Commit

Permalink
Merge pull request #10 from gusy/master
Browse files Browse the repository at this point in the history
fix for scikit-learn install. Closes #9.
  • Loading branch information
branliu0 committed Nov 4, 2014
2 parents 482e5ed + 42ffeb0 commit ad1b108
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
22 changes: 12 additions & 10 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -178,16 +178,6 @@ sub-env $BIN_DIR/steps/collectstatic
# ### Finalize
#

# Set context environment variables.
set-env PATH '$HOME/.heroku/python/bin:$PATH'
set-env PYTHONUNBUFFERED true
set-env PYTHONHOME /app/.heroku/python
set-env LIBRARY_PATH /app/.heroku/vendor/lib:/app/.heroku/python/lib
set-env LD_LIBRARY_PATH '/app/.heroku/vendor/lib:/app/.heroku/python/lib:$LD_LIBRARY_PATH'
set-default-env LANG en_US.UTF-8
set-default-env PYTHONHASHSEED random
set-default-env PYTHONPATH /app/


# Experimental post_compile hook.
bpwatch start post_compile
Expand All @@ -214,3 +204,15 @@ bpwatch start anvil_appdir_commit

bpwatch stop anvil_appdir_commit
bpwatch stop compile

# Set context environment variables.
set-env PATH '$HOME/.heroku/python/bin:$PATH'
set-env PYTHONUNBUFFERED true
set-env PYTHONHOME /app/.heroku/python
set-env LIBRARY_PATH /app/.heroku/vendor/lib:/app/.heroku/python/lib
set-env LD_LIBRARY_PATH '/app/.heroku/vendor/lib:/app/.heroku/python/lib:$LD_LIBRARY_PATH'
set-default-env LANG en_US.UTF-8
set-default-env PYTHONHASHSEED random
set-default-env PYTHONPATH /app/


1 change: 1 addition & 0 deletions bin/utils
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ puts-warn() {

# Usage: $ set-env key value
set-env() {
export "$1=$(eval echo $2)"
echo "export $1=$2" >> $PROFILE_PATH
}

Expand Down

0 comments on commit ad1b108

Please sign in to comment.