Skip to content

Commit

Permalink
Switch installation instructions to pypi (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmauch authored May 15, 2024
1 parent 282a2b4 commit ad8e346
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 30 deletions.
10 changes: 2 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ install pipx``). Please note: With pipx versions < 1.0 you'll have to provide th

.. code:: bash
# pipx >= 1.0 (from ubuntu 22.04 on)
pipx install git+https://github.com/fzi-forschungszentrum-informatik/robot_folders.git
# pipx < 1.0 (ubuntu 20.04)
pipx install --spec git+https://github.com/fzi-forschungszentrum-informatik/robot_folders.git robot-folders
pipx install robot_folders
Upgrade
-------
Expand All @@ -30,10 +27,7 @@ To upgrade robot_folders using ``pipx`` do

.. code:: bash
# pipx >= 1.0 (from ubuntu 22.04 on)
pipx upgrade robot-folders
# pipx < 1.0 (ubuntu 20.04)
pipx upgrade --spec git+https://github.com/fzi-forschungszentrum-informatik/robot_folders.git robot-folders
pipx upgrade robot_folders
Shell setup
-----------
Expand Down
26 changes: 4 additions & 22 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,18 @@ Installation
It is recommended to install robot_folders using ``pipx`` (You can install ``pipx`` on Ubuntu using ``sudo apt
install pipx``). Please note: With pipx versions < 1.0 you'll have to provide the `--spec` flag.

.. tabs::

.. group-tab:: pipx >= 1.0

.. code:: bash
pipx install git+https://github.com/fzi-forschungszentrum-informatik/robot_folders.git
.. group-tab:: pipx < 1.0

.. code:: bash
.. code:: bash
pipx install --spec git+https://github.com/fzi-forschungszentrum-informatik/robot_folders.git robot-folders
pipx install robot_folders
Upgrade
-------

To upgrade robot_folders using ``pipx`` do

.. tabs::

.. group-tab:: pipx >= 1.0

.. code:: bash
pipx upgrade robot-folders
.. group-tab:: pipx < 1.0

.. code:: bash
.. code:: bash
pipx upgrade --spec git+https://github.com/fzi-forschungszentrum-informatik/robot_folders.git robot-folders
pipx upgrade robot_folders
Shell setup
-----------
Expand Down

0 comments on commit ad8e346

Please sign in to comment.