mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
clean up commented code
This commit is contained in:
@@ -259,17 +259,8 @@ mtime "python.install.time" "${start}"
|
||||
# shellcheck source=bin/steps/pipenv
|
||||
source "$BIN_DIR/steps/pipenv"
|
||||
|
||||
# Uninstall removed dependencies with Pip.
|
||||
# The buildpack will automatically remove any declared dependencies (in requirements.txt)
|
||||
# that were explicitly removed. This machinery is a bit complex, but it is not complicated.
|
||||
# (( start=$(nowms) ))
|
||||
# shellcheck source=bin/steps/pip-uninstall
|
||||
# source "$BIN_DIR/steps/pip-uninstall"
|
||||
# mtime "pip.uninstall.time" "${start}"
|
||||
|
||||
# If no requirements.txt file given, assume `setup.py develop` is intended.
|
||||
# This allows for people to ship a setup.py application to Heroku
|
||||
# TODO: hatchet test to confirm
|
||||
|
||||
if [ ! -f requirements.txt ] && [ ! -f Pipfile ]; then
|
||||
echo "-e ." > requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user