From d191deb744b39eebc88c82c576295e86c061d53d Mon Sep 17 00:00:00 2001 From: Omer Katz Date: Tue, 4 Dec 2018 17:50:41 +0200 Subject: [PATCH 1/3] Mention Linuxbrew in installation docs. --- docs/index.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/index.rst b/docs/index.rst index b6822409..11c9d34d 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -52,6 +52,8 @@ Install Pipenv Today! If you're on MacOS, you can install Pipenv easily with Homebrew:: $ brew install pipenv + +You can also use Linuxbrew on Linux using the same command. Or, if you're using Fedora 28:: From 497fdf8d6b04f2a671f729652fb99f9d1e4a0abd Mon Sep 17 00:00:00 2001 From: Omer Katz Date: Sun, 9 Dec 2018 18:19:14 +0200 Subject: [PATCH 2/3] Updated install documentation. --- docs/install.rst | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/docs/install.rst b/docs/install.rst index f529e249..4dcdf511 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -52,16 +52,16 @@ check this by running:: $ pip --version pip 9.0.1 -If you installed Python from source, with an installer from `python.org`_, or -via `Homebrew`_ you should already have pip. If you're on Linux and installed +If you installed Python from source, with an installer from `python.org`_, via `Homebrew`_ or via `Linuxbrew`_ you should already have pip. If you're on Linux and installed using your OS package manager, you may have to `install pip `_ separately. -If you plan to install Pipenv using Homebrew you can skip this step. The -Homebrew installer takes care of pip for you. +If you plan to install Pipenv using Homebrew or Linuxbrew you can skip this step. The +Homebrew/Linuxbrew installer takes care of pip for you. .. _getting started tutorial: https://opentechschool.github.io/python-beginners/en/getting_started.html#what-is-python-exactly .. _python.org: https://python.org .. _Homebrew: https://brew.sh +.. _Linuxbrew: https://linuxbrew.sh/ .. _Installing Python: http://docs.python-guide.org/en/latest/starting/installation/ @@ -97,6 +97,22 @@ To upgrade pipenv at any time:: $ brew upgrade pipenv +☤ Linuxbrew Installation of Pipenv +--------------------------------- + +Linuxbrew is a Linux port of the popular open-source package management system for macOS. + +Installing pipenv via Linuxbrew will keep pipenv and all of its dependencies in +an isolated virtual environment so it doesn't interfere with the rest of your +Python installation. + +Once you have installed `Linuxbrew`_ simply run:: + + $ brew install pipenv + +To upgrade pipenv at any time:: + + $ brew upgrade pipenv ☤ Pragmatic Installation of Pipenv ---------------------------------- From 844f7f80e248076c5cb023a6846b8857f66c3bfb Mon Sep 17 00:00:00 2001 From: jxltom Date: Sun, 16 Dec 2018 10:45:29 +0800 Subject: [PATCH 3/3] Merge homebrew and linuxbrew installation into same section --- docs/index.rst | 4 +--- docs/install.rst | 22 +++------------------- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 11c9d34d..a832ee8e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -49,11 +49,9 @@ You can quickly play with Pipenv right in your browser: Install Pipenv Today! --------------------- -If you're on MacOS, you can install Pipenv easily with Homebrew:: +If you're on MacOS, you can install Pipenv easily with Homebrew. You can also use Linuxbrew on Linux using the same command:: $ brew install pipenv - -You can also use Linuxbrew on Linux using the same command. Or, if you're using Fedora 28:: diff --git a/docs/install.rst b/docs/install.rst index 4dcdf511..4039cdb5 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -83,13 +83,13 @@ cases. ☤ Homebrew Installation of Pipenv --------------------------------- -Homebrew is a popular open-source package management system for macOS. +`Homebrew`_ is a popular open-source package management system for macOS. For Linux users, `Linuxbrew`_ is a Linux port of that. -Installing pipenv via Homebrew will keep pipenv and all of its dependencies in +Installing pipenv via Homebrew or Linuxbrew will keep pipenv and all of its dependencies in an isolated virtual environment so it doesn't interfere with the rest of your Python installation. -Once you have installed `Homebrew`_ simply run:: +Once you have installed Homebrew or Linuxbrew simply run:: $ brew install pipenv @@ -97,22 +97,6 @@ To upgrade pipenv at any time:: $ brew upgrade pipenv -☤ Linuxbrew Installation of Pipenv ---------------------------------- - -Linuxbrew is a Linux port of the popular open-source package management system for macOS. - -Installing pipenv via Linuxbrew will keep pipenv and all of its dependencies in -an isolated virtual environment so it doesn't interfere with the rest of your -Python installation. - -Once you have installed `Linuxbrew`_ simply run:: - - $ brew install pipenv - -To upgrade pipenv at any time:: - - $ brew upgrade pipenv ☤ Pragmatic Installation of Pipenv ----------------------------------