mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Revert "Don't install packages that could mess packaging up" (#404)
* Revert "Fix pyyaml (#402)" This reverts commitff94908505. * Revert "Don't install packages that could mess packaging up (#397)" This reverts commit5496c02f9f.
This commit is contained in:
+4
-8
@@ -171,19 +171,15 @@ sub-env $BIN_DIR/steps/geo-libs
|
||||
# GDAL support.
|
||||
source $BIN_DIR/steps/gdal
|
||||
|
||||
# Uninstall removed dependencies with Pip.
|
||||
let start=$(nowms)
|
||||
source $BIN_DIR/steps/pip-uninstall
|
||||
mtime "pip.uninstall.time" "${start}"
|
||||
|
||||
# Cleanup requirements.txt
|
||||
source $BIN_DIR/steps/setuptools
|
||||
|
||||
# Install dependencies with Pip (where the magic happens).
|
||||
let start=$(nowms)
|
||||
source $BIN_DIR/steps/pip-install
|
||||
mtime "pip.install.time" "${start}"
|
||||
|
||||
# Uninstall removed dependencies with Pip.
|
||||
let start=$(nowms)
|
||||
source $BIN_DIR/steps/pip-uninstall
|
||||
mtime "pip.uninstall.time" "${start}"
|
||||
|
||||
# Support for NLTK corpora.
|
||||
let start=$(nowms)
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Syntax sugar.
|
||||
source $BIN_DIR/utils
|
||||
|
||||
puts-step "Removing packaging utilities from requirements.txt."
|
||||
|
||||
if [[ -f requirements.txt ]]; then
|
||||
pip-clean requirements.txt
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user