Skip to content

Commit

Permalink
Merge pull request #2048 from alexandergitter/fix-2021
Browse files Browse the repository at this point in the history
Replace non-virtualenv installation instructions with distribution packages
  • Loading branch information
grewn0uille authored Jan 26, 2024
2 parents 7b4bbab + 7c3be57 commit ae2a2df
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docs/first_steps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ in a `virtual environment`_ using `pip`_::
.. _pip: https://pip.pypa.io/


Alpine ≥ 3.12
Alpine ≥ 3.14
+++++++++++++

To install WeasyPrint without a virtualenv, you need the following packages::
To install WeasyPrint using your distribution’s package::

apk add py3-pip py3-pillow py3-cffi py3-brotli gcc musl-dev python3-dev pango
apk add weasyprint

To install WeasyPrint inside a virtualenv using wheels (if possible), you need
the following packages::
Expand All @@ -91,9 +91,9 @@ following packages::
Archlinux
+++++++++

To install WeasyPrint without a virtualenv, you need the following packages::
To install WeasyPrint using your distribution’s package::

pacman -S python-pip pango python-cffi python-pillow python-brotli python-zopfli
pacman -S python-weasyprint

To install WeasyPrint inside a virtualenv using wheels (if possible), you need
the following packages::
Expand All @@ -109,9 +109,9 @@ following packages::
Debian ≥ 11
+++++++++++

To install WeasyPrint without a virtualenv, you need the following packages::
To install WeasyPrint using your distribution’s package::

apt install python3-pip python3-cffi python3-brotli libpango-1.0-0 libpangoft2-1.0-0
apt install weasyprint

To install WeasyPrint inside a virtualenv using wheels (if possible), you need
the following packages::
Expand All @@ -127,9 +127,9 @@ following packages::
Fedora ≥ 34
+++++++++++

To install WeasyPrint without a virtualenv, you need the following packages::
To install WeasyPrint using your distribution’s package::

yum install python-pip python-pillow python-cffi python3-brotli pango
yum install weasyprint

To install WeasyPrint inside a virtualenv using wheels (if possible), you need
the following packages::
Expand All @@ -145,9 +145,9 @@ following packages::
Ubuntu ≥ 20.04
++++++++++++++

To install WeasyPrint without a virtualenv, you need the following packages::
To install WeasyPrint using your distribution’s package::

apt install python3-pip python3-cffi python3-brotli libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0
apt install weasyprint

To install WeasyPrint inside a virtualenv using wheels (if possible), you need
the following packages::
Expand Down

0 comments on commit ae2a2df

Please sign in to comment.