changeset f161b6aa8df5 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=f161b6aa8df5
description:
Update installation documentation to new tools
issue9957
review347121003
diffstat:
doc/topics/install.rst | 31 +++++++++++++++++++++----------
1 files changed, 21 insertions(+), 10 deletions(-)
diffs (49 lines):
diff -r 0da6611fd040 -r f161b6aa8df5 doc/topics/install.rst
--- a/doc/topics/install.rst Sun Jan 03 13:06:13 2021 +0100
+++ b/doc/topics/install.rst Sun Jan 03 13:07:39 2021 +0100
@@ -7,24 +7,35 @@
Install Tryton
==============
-There are three easy options to install Tryton:
+There are three options to install Tryton:
* Install the version provided by your operating system distribution. This
is the quickest and recommended option for those who has operating system
that distributes Tryton.
- * Install an official release. Once you've downloaded and unpacked a
- trytond source release, enter the directory where the archive was
- unpacked, and run: ``python setup.py install``
+ * Install the published package.
+ You first need to have `pip <https://pip.pypa.io/>` installed.
+ Then to install ``trytond`` run:
+
+ .. code-block:: sh
+
+ python -m pip install trytond
+
+ You can also install for example the ``sale`` module with:
+
+ .. code-block:: sh
- For advanced options, please refer to the easy_install and/or the
- distutils documentation:
+ python -m pip install trytond_sale
+
+ * Without installation, you need to make sure you have all the dependencies
+ installed and then run:
- * http://setuptools.readthedocs.io/en/latest/easy_install.html
- * http://docs.python.org/inst/inst.html
+ .. code-block:: sh
- * Without installation, just run ``bin/trytond`` from where the archive was
- unpacked.
+ python bin/trytond
+
+ You can register modules by linking them into the ``trytond/modules``
+ folder.
.. warning::
Note that you may need administrator/root privileges for this step, as