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/contributing.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/contributing.rst')
| -rw-r--r-- | docs/contributing.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/contributing.rst b/docs/contributing.rst index 8e0d69a..7b4f8a5 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -67,7 +67,7 @@ If System :ref:`installation-requirements` are fulfilled, you can just issue:: make serve -It will setup a `virtualenv <https://pypi.python.org/pypi/virtualenv>`_, +It will setup a `Virtual environment <https://docs.python.org/3/tutorial/venv.html>`_, install dependencies, and run the test server. The hard way @@ -193,7 +193,7 @@ The documentation is using `sphinx <http://www.sphinx-doc.org/en/stable/>`_ and its source is located inside the `docs folder <https://github.com/spiral-project/ihatemoney/tree/master/docs>`_. -Install doc dependencies (within the virtualenv, if any):: +Install doc dependencies (within the virtual environment, if any):: pip install -r docs/requirements.txt |
