Skip to content
Snippets Groups Projects
Commit 79b9e85a409a authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:books: Make install the first section

parent 9e1fa6e1278b
No related branches found
No related tags found
1 merge request!101📚 Make install the first section
...@@ -2,5 +2,8 @@ ...@@ -2,5 +2,8 @@
Odoo Scripts Odoo Scripts
============ ============
Installation
============
Most commands can be run directly or with the image build from ``Dockerfile`` (xcgd/odoo_scripts) by indicating the command to run, but the best way to use this module is to install it. Installing will also install dependencies. Most commands can be run directly or with the image build from ``Dockerfile`` (xcgd/odoo_scripts) by indicating the command to run, but the best way to use this module is to install it. Installing will also install dependencies.
...@@ -5,7 +8,18 @@ ...@@ -5,7 +8,18 @@
Most commands can be run directly or with the image build from ``Dockerfile`` (xcgd/odoo_scripts) by indicating the command to run, but the best way to use this module is to install it. Installing will also install dependencies. Most commands can be run directly or with the image build from ``Dockerfile`` (xcgd/odoo_scripts) by indicating the command to run, but the best way to use this module is to install it. Installing will also install dependencies.
The recommend way to install this module is to run ``python3 -m pip install hg+https://orus.io/xcg/odoo_scripts#egg=odoo_scripts``.
Some scripts are in other sections, because they need some specialized library, in that case you need to indicate the name of section as in ``python3 -m pip install "hg+https://orus.io/xcg/odoo_scripts#egg=odoo_scripts[docker]"``.
The prerequisites for this module or one of its section can be installed by using pip3 or the package manager; the requirements are defined in ``setup.py``.
It can also be cloned it before running ``python3 -m pip install .`` in the clone directory.
.. important:: As there is no way of indicating sections (worse, it is handling them incorrectly), do not use ``python3 setup.py install``.
Note that shell scripts are not installed, as they are meant to be replaced with more easily maintanable python scripts.
Scripts Scripts
======= =======
Those scripts are available when installing the package, and can also be run directly. Those scripts are available when installing the package, and can also be run directly.
...@@ -7,15 +21,8 @@ ...@@ -7,15 +21,8 @@
Scripts Scripts
======= =======
Those scripts are available when installing the package, and can also be run directly. Those scripts are available when installing the package, and can also be run directly.
The recommend way to install this module is to run ``python3 -m pip install hg+https://orus.io/xcg/odoo_scripts#egg=odoo_scripts``, or to clone it then run ``python3 -m pip install .``.
Some scripts are in other sections, because they need some specialized library, in that case you need to indicate the name of section as in ``python3 -m pip install "hg+https://orus.io/xcg/odoo_scripts#egg=odoo_scripts[docker]"``.
The prerequisites for this module or one of its section can be installed by using pip3 or the package manager; the requirements are defined in ``setup.py``.
.. important:: As there is no way of indicating sections (worse, it is handling them incorrectly), do not use ``python3 setup.py install``.
docker_black docker_black
------------ ------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment