diff options
| author | Jocelyn Delalande <jocelyn@crapouillou.net> | 2020-07-26 19:55:44 +0200 |
|---|---|---|
| committer | zorun <github@bitsofnetworks.org> | 2020-07-26 20:14:59 +0200 |
| commit | 55bce593f04b64a383e300ae9967ce690f95c70d (patch) | |
| tree | 7996604f20b4040404b41e8ef1d239583640ee17 /docs/upgrade.rst | |
| parent | 48fabc346fd98d55eb44715e1a61e3feeb73de44 (diff) | |
| download | ihatemoney-mirror-55bce593f04b64a383e300ae9967ce690f95c70d.zip ihatemoney-mirror-55bce593f04b64a383e300ae9967ce690f95c70d.tar.gz ihatemoney-mirror-55bce593f04b64a383e300ae9967ce690f95c70d.tar.bz2 | |
Use venv module rather than virtualenv
- simpler to use
- lighter dependency (or no dependency at all, depending on python distribution)
- retrocompatible
virtualenv package from pip to acheive virtual environment feature is no longer
needed, except for projects which need to support py2, which is no longer our
case.
Also, reword "virtualenv" to "virtual environment" in doc, to avoid confusion
with pip package name.
Ref #483
Diffstat (limited to 'docs/upgrade.rst')
| -rw-r--r-- | docs/upgrade.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/upgrade.rst b/docs/upgrade.rst index 560c2a9..0db0428 100644 --- a/docs/upgrade.rst +++ b/docs/upgrade.rst @@ -15,7 +15,7 @@ General procedure *(sufficient for minor/patch upgrades)* -1. From the virtualenv (if any):: +1. From the virtual environment (if any):: pip install -U ihatemoney @@ -47,7 +47,7 @@ Switch to a supported version of Python If you were running IHateMoney using Python < 3.6, you must, **before** upgrading: 1. Ensure to have a Python ≥ 3.6 available on your system -2. Rebuild your virtualenv (if any). It will *not* alter your database nor configuration. For example, if your virtualenv is in `/home/john/ihatemoney/`:: +2. Rebuild your virtual environment (if any). It will *not* alter your database nor configuration. For example, if your virtual environment is in `/home/john/ihatemoney/`:: rm -rf /home/john/ihatemoney pyhton3 -m venv /home/john/ihatemoney @@ -89,7 +89,7 @@ development only. 1. Delete the cloned folder -.. note:: If you are using a virtualenv, then the following commands should be run inside it (see +.. note:: If you are using a virtual environment, then the following commands should be run inside it (see :ref:`virtualenv-preparation`). |
