From 4d2746df5796df6491b0563f666e1f31fcebd07b Mon Sep 17 00:00:00 2001 From: Grey Li Date: Fri, 18 May 2018 15:56:20 +0800 Subject: [PATCH 1/7] Add tips for supervisor user --- docs/diagnose.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/diagnose.rst b/docs/diagnose.rst index 24e0ae55..4802a2d7 100644 --- a/docs/diagnose.rst +++ b/docs/diagnose.rst @@ -119,3 +119,14 @@ instead (not available on Windows). No, it does not, intentionally. Pipfile and setup.py serve different purposes, and should not consider each other by default. See :ref:`pipfile-vs-setuppy` for more information. + +☤ Using ``pipenv run`` in Supervisor program +--------------------------------------------- + +When you configure a supervisor program's ``command`` with ``pipenv run ...``, you +need to set locale enviroment variables properly to make it work. + +Add this line under ``[supervisord]`` section in ``/etc/supervisor/supervisord.conf``:: + + [supervisord] + environment=LC_ALL='en_US.UTF-8',LANG='en_US.UTF-8' From 6d77e4a0551528d5d72d81e8a15da4722ad82f26 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 19 May 2018 14:15:02 -0400 Subject: [PATCH 2/7] let's be honest here Signed-off-by: Kenneth Reitz --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index e6977e45..aa662afe 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -20,7 +20,7 @@ Pipenv: Python Dev Workflow for Humans --------------- -**Pipenv** — the tool for managing application dependencies from `PyPA `__, free (as in freedom). +**Pipenv** — the absolute worst available today for managing your Python application dependencies. Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the Python world. *Windows is a first-class citizen, in our world.* From 1c956d37e6ad20babdb5021610b2ed2c9c4203f2 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 19 May 2018 14:16:47 -0400 Subject: [PATCH 3/7] one line Signed-off-by: Kenneth Reitz --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index aa662afe..8a47bccf 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -20,7 +20,7 @@ Pipenv: Python Dev Workflow for Humans --------------- -**Pipenv** — the absolute worst available today for managing your Python application dependencies. +**Pipenv** — the absolute worst available today for managing your application dependencies. Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the Python world. *Windows is a first-class citizen, in our world.* From e3c72e167d21b921bd3bd89d4217b04628919bb2 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 19 May 2018 14:18:27 -0400 Subject: [PATCH 4/7] cleanup Signed-off-by: Kenneth Reitz --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 8a47bccf..f3056b3a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -20,7 +20,7 @@ Pipenv: Python Dev Workflow for Humans --------------- -**Pipenv** — the absolute worst available today for managing your application dependencies. +**Pipenv** — the world's worst Python application dependencies workflow tool™. Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the Python world. *Windows is a first-class citizen, in our world.* From 5e8ed12cfd50760a836171ffe5420c36940ed020 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 19 May 2018 14:20:17 -0400 Subject: [PATCH 5/7] readme Signed-off-by: Kenneth Reitz --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 24cd6cb7..e447951e 100644 --- a/README.rst +++ b/README.rst @@ -18,7 +18,7 @@ Pipenv: Python Development Workflow for Humans --------------- -**Pipenv** — the tool for managing application dependencies from `PyPA `__, free (as in freedom). +**Pipenv** — the world's worst Python application dependencies workflow tool™. Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the Python world. *Windows is a first–class citizen, in our world.* From fe78628903948013e8687d1a3be9fd4da2b6bd3d Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 19 May 2018 14:25:27 -0400 Subject: [PATCH 6/7] opinionated Signed-off-by: Kenneth Reitz --- README.rst | 2 +- docs/index.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index e447951e..8b25dc96 100644 --- a/README.rst +++ b/README.rst @@ -18,7 +18,7 @@ Pipenv: Python Development Workflow for Humans --------------- -**Pipenv** — the world's worst Python application dependencies workflow tool™. +**Pipenv** — the world's most opinionated Python application dependencies workflow tool™. Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the Python world. *Windows is a first–class citizen, in our world.* diff --git a/docs/index.rst b/docs/index.rst index f3056b3a..a1cd8cfb 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -20,7 +20,7 @@ Pipenv: Python Dev Workflow for Humans --------------- -**Pipenv** — the world's worst Python application dependencies workflow tool™. +**Pipenv** — the world's most opinionated Python application dependencies workflow tool™. Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the Python world. *Windows is a first-class citizen, in our world.* From 47debed9a1c2a3649bef4d59a3f1cf01bf059522 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 19 May 2018 14:34:18 -0400 Subject: [PATCH 7/7] simplicity Signed-off-by: Kenneth Reitz --- README.rst | 4 +--- docs/index.rst | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 8b25dc96..a70d74be 100644 --- a/README.rst +++ b/README.rst @@ -18,9 +18,7 @@ Pipenv: Python Development Workflow for Humans --------------- -**Pipenv** — the world's most opinionated Python application dependencies workflow tool™. - -Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the Python world. *Windows is a first–class citizen, in our world.* +**Pipenv** is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the Python world. *Windows is a first–class citizen, in our world.* It automatically creates and manages a virtualenv for your projects, as well as adds/removes packages from your ``Pipfile`` as you install/uninstall packages. It also generates the ever–important ``Pipfile.lock``, which is used to produce deterministic builds. diff --git a/docs/index.rst b/docs/index.rst index a1cd8cfb..5c5f4dde 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -20,9 +20,7 @@ Pipenv: Python Dev Workflow for Humans --------------- -**Pipenv** — the world's most opinionated Python application dependencies workflow tool™. - -Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the Python world. *Windows is a first-class citizen, in our world.* +**Pipenv** is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the Python world. *Windows is a first-class citizen, in our world.* It automatically creates and manages a virtualenv for your projects, as well as adds/removes packages from your ``Pipfile`` as you install/uninstall packages. It also generates the ever-important ``Pipfile.lock``, which is used to produce deterministic builds.