From 26de94ddb3718114df5be99056c0af4dba7c8402 Mon Sep 17 00:00:00 2001
From: Michal Cyprian <michal@platform.sh>
Date: Fri, 26 Oct 2018 14:21:17 +0200
Subject: [PATCH] Install gunicorn via Pipenv

---
 .platform.app.yaml |  1 -
 Pipfile            |  1 +
 Pipfile.lock       | 16 ++++++++++++----
 3 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/.platform.app.yaml b/.platform.app.yaml
index af10c7c..f2b9d44 100644
--- a/.platform.app.yaml
+++ b/.platform.app.yaml
@@ -12,7 +12,6 @@ type: 'python:3.7'
 # The build-time dependencies of the app.
 dependencies:
     python:
-       gunicorn: '*'
        pipenv: '*'
 
 # The relationships of the application with services or other applications.
diff --git a/Pipfile b/Pipfile
index 6189f46..724a665 100644
--- a/Pipfile
+++ b/Pipfile
@@ -6,6 +6,7 @@ name = "pypi"
 [packages]
 django = ">=2.1.2,<3.0"
 "psycopg2-binary" = "*"
+gunicorn = "*"
 
 [requires]
 python_version = "3.7"
diff --git a/Pipfile.lock b/Pipfile.lock
index 5a2c4b7..6f0c157 100644
--- a/Pipfile.lock
+++ b/Pipfile.lock
@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "2aeaa41d7d67c34f9c0ece7bbcee99d8932c5011531d00eed287e0e41f53098d"
+            "sha256": "d4994e064025e5b73e75daa89b5385635c2a6b312dfc78ee87c59e138b2cb8b6"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -24,6 +24,14 @@
             "index": "pypi",
             "version": "==2.1.2"
         },
+        "gunicorn": {
+            "hashes": [
+                "sha256:aa8e0b40b4157b36a5df5e599f45c9c76d6af43845ba3b3b0efe2c70473c2471",
+                "sha256:fa2662097c66f920f53f70621c6c58ca4a3c4d3434205e608e121b5b3b71f4f3"
+            ],
+            "index": "pypi",
+            "version": "==19.9.0"
+        },
         "psycopg2-binary": {
             "hashes": [
                 "sha256:04afb59bbbd2eab3148e6816beddc74348078b8c02a1113ea7f7822f5be4afe3",
@@ -62,10 +70,10 @@
         },
         "pytz": {
             "hashes": [
-                "sha256:a061aa0a9e06881eb8b3b2b43f05b9439d6583c206d0a6c340ff72a7b6669053",
-                "sha256:ffb9ef1de172603304d9d2819af6f5ece76f2e85ec10692a524dd876e72bf277"
+                "sha256:642253af8eae734d1509fc6ac9c1aee5e5b69d76392660889979b9870610a46b",
+                "sha256:91e3ccf2c344ffaa6defba1ce7f38f97026943f675b7703f44789768e4cb0ece"
             ],
-            "version": "==2018.5"
+            "version": "==2018.6"
         }
     },
     "develop": {}
-- 
GitLab