mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
improvements
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Install dependencies with Pip.
|
||||
puts-cmd "pip install -r requirements.txt"
|
||||
puts-step "Installing requirements with pip"
|
||||
|
||||
set +e
|
||||
# delete any existing egg links, to uninstall exisisting installations.
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ if [[ -f Pipfile ]]; then
|
||||
if [[ ! -f requirements.txt ]]; then
|
||||
puts-step "Generating 'requirements.txt' with pipenv"
|
||||
|
||||
pip install git+https://github.com/kennethreitz/pipenv.git#egg=pipenv &> /dev/null
|
||||
pip install pipenv --upgrade &> /dev/null
|
||||
pipenv lock --requirements > requirements.txt 2> /dev/null
|
||||
|
||||
pipstrip requirements.txt
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
set +e
|
||||
runtime-fixer runtime.txt
|
||||
PYTHON_VERSION=$(cat runtime.txt)
|
||||
|
||||
# Install Python.
|
||||
|
||||
Reference in New Issue
Block a user