Skip to content

Commit 6aa76fc

Browse files
authored
Mark installation through system packages as unsupported. (#1301)
1 parent 3f2a08f commit 6aa76fc

File tree

1 file changed

+4
-52
lines changed

1 file changed

+4
-52
lines changed

docs/Installation.rst

Lines changed: 4 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -190,58 +190,10 @@ After the activation, the ``pip`` command will *always* be available (even if it
190190

191191
deactivate
192192

193-
Method 3: Using ``apt-get`` on Ubuntu
194-
-------------------------------------
195-
196-
.. warning::
197-
198-
It is usually possible to install python dependencies using your Linux distribution's package manager. However, keep in mind that the version of each package is controlled by the package mantainers and could be too new or too old for CMS. **On Ubuntu, this is generally not the case** since we try to build on the python packages that are available for the current LTS version.
199-
200-
.. warning::
201-
202-
On Ubuntu 20.04, the shipped version of ``python3-gevent`` is too old to support the system Python 3 version. After installing other packages from the repositories, you should still install ``gevent>=1.5,<1.6``, for example, using the ``pip`` method above.
203-
204-
To install CMS and its Python dependencies on Ubuntu, you can issue:
205-
206-
.. sourcecode:: bash
207-
208-
sudo python3 setup.py install
209-
210-
sudo apt-get install python3-setuptools python3-tornado4 python3-psycopg2 \
211-
python3-sqlalchemy python3-psutil python3-netifaces python3-pycryptodome \
212-
python3-bs4 python3-coverage python3-requests python3-werkzeug \
213-
python3-gevent python3-bcrypt python3-chardet patool python3-babel \
214-
python3-xdg python3-jinja2
215-
216-
# Optional.
217-
# sudo apt-get install python3-yaml python3-sphinx python3-cups python3-pypdf2
218-
219-
Method 4: Using ``pacman`` on Arch Linux
220-
----------------------------------------
221-
222-
.. warning::
223-
224-
It is usually possible to install python dependencies using your Linux distribution's package manager. However, keep in mind that the version of each package is controlled by the package mantainers and could be too new or too old for CMS. **This is especially true for Arch Linux**, which is a bleeding edge distribution.
225-
226-
To install CMS python dependencies on Arch Linux (again: assuming you did not use the aforementioned AUR packages), you can issue:
227-
228-
.. sourcecode:: bash
229-
230-
sudo python3 setup.py install
231-
232-
sudo pacman -S --needed python-setuptools python-tornado python-psycopg2 \
233-
python-sqlalchemy python-psutil python-netifaces python-pycryptodome \
234-
python-beautifulsoup4 python-coverage python-requests python-werkzeug \
235-
python-gevent python-bcrypt python-chardet python-babel python-xdg \
236-
python-jinja
237-
238-
# Install the following from AUR.
239-
# https://aur.archlinux.org/packages/patool/
240-
241-
# Optional.
242-
# sudo pacman -S --needed python-yaml python-sphinx python-pycups
243-
# Optionally install the following from AUR.
244-
# https://aur.archlinux.org/packages/python-pypdf2/
193+
Method 3: Using your distribution's system packages
194+
---------------------------------------------------
195+
You might be able to install compatible versions of the dependencies in `requirements.txt`
196+
through your distribution's packages; this method is not supported.
245197

246198

247199
Configuring the worker machines

0 commit comments

Comments
 (0)