Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed Feb 16, 2017
1 parent f59584a commit f574f46
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions cookbooks/python/recipes/install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,10 @@ function install()
{
umask '0022'

# Clean Up

initializeFolder "${PYTHON_INSTALL_FOLDER_PATH}"

# Install

local -r tempFolder="$(getTemporaryFolder)"

unzipRemoteFile "${PYTHON_DOWNLOAD_URL}" "${tempFolder}"
cd "${tempFolder}"
"${tempFolder}/configure" --prefix="${PYTHON_INSTALL_FOLDER_PATH}"
make
make install
compileAndInstallFromSource "${PYTHON_DOWNLOAD_URL}" "${PYTHON_INSTALL_FOLDER_PATH}" "${PYTHON_INSTALL_FOLDER_PATH}/bin/python3" "$(whoami)"
ln -f -s "${PYTHON_INSTALL_FOLDER_PATH}/bin/python3" '/usr/local/bin/python'
rm -f -r "${tempFolder}"

# Config Profile

Expand All @@ -33,7 +22,7 @@ function install()

# Display Version

displayVersion "$(python --version)"
displayVersion "$(python3 --version)"

umask '0077'
}
Expand Down

0 comments on commit f574f46

Please sign in to comment.