[IMP] adapt documentation for new install script
closes odoo/documentation#9116 Related: odoo/odoo#163788 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
This commit is contained in:
parent
23a1c496bf
commit
af73b44168
@ -273,18 +273,23 @@ Dependencies
|
|||||||
|
|
||||||
.. tab:: Debian/Ubuntu
|
.. tab:: Debian/Ubuntu
|
||||||
|
|
||||||
For Debian-based systems, the packages are listed in the `debian/control
|
|
||||||
<{GITHUB_PATH}/debian/control>`_ file of the Odoo sources.
|
|
||||||
|
|
||||||
On Debian/Ubuntu, the following commands should install the required packages:
|
On Debian/Ubuntu, the following commands should install the required packages:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cd /CommunityPath
|
$ cd odoo #CommunityPath
|
||||||
$ sed -n -e '/^Depends:/,/^Pre/ s/ python3-\(.*\),/python3-\1/p' debian/control | sudo xargs apt-get install -y
|
$ sudo ./setup/debinstall.sh
|
||||||
|
|
||||||
|
The `setup/debinstall.sh` script will parse the `debian/control` and install found
|
||||||
|
packages.
|
||||||
|
|
||||||
.. tab:: Install with pip
|
.. tab:: Install with pip
|
||||||
|
|
||||||
|
.. warning::
|
||||||
|
|
||||||
|
Using pip may lead to security issue and broken dependencies, only do this if you
|
||||||
|
know what you rare doing.
|
||||||
|
|
||||||
As some of the Python packages need a compilation step, they require system libraries to
|
As some of the Python packages need a compilation step, they require system libraries to
|
||||||
be installed.
|
be installed.
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import sphinxlint
|
|||||||
|
|
||||||
|
|
||||||
REDIRECT_RULE_RE = re.compile(r'^[ \t]*([\w\-/]+\.rst)[ \t]+([\w\-/]+\.rst)[ \t]*(?:#.*)?$')
|
REDIRECT_RULE_RE = re.compile(r'^[ \t]*([\w\-/]+\.rst)[ \t]+([\w\-/]+\.rst)[ \t]*(?:#.*)?$')
|
||||||
REDIRECTS_FILE_VERSION_RE = re.compile('(?:redirects/)?(?:saas-)?(\d\d\.\d)\.txt')
|
REDIRECTS_FILE_VERSION_RE = re.compile(r'(?:redirects/)?(?:saas-)?(\d\d\.\d)\.txt')
|
||||||
|
|
||||||
|
|
||||||
@sphinxlint.checker('.txt')
|
@sphinxlint.checker('.txt')
|
||||||
|
Loading…
Reference in New Issue
Block a user