Skip to content

Commit

Permalink
Improve documentation for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Feb 26, 2024
1 parent 00b647d commit 61fb3c9
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions docs/first_steps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,11 @@ The easiest way to install WeasyPrint on macOS is to use Homebrew_::
Windows
~~~~~~~

Since v61, the easiest way to use WeasyPrint on Windows is to use the `executable`_
of the latest release.
To use WeasyPrint on Windows, the easiest way is to use the `executable`_ of
the latest release.

The executable doesn’t work for all cases. If you want to use WeasyPrint as a
Python library you’ll have to follow a few steps that may not be
easy. Please read this chapter carefully.

Only Windows 11 64-bit is supported. You can find this information in the
Control Panel → System and Security → System.
If you want to use WeasyPrint as a Python library, you’ll have to follow a few
extra steps. Please read this chapter carefully.

The first step is to install the latest version of Python from the `Microsoft
Store`_.
Expand All @@ -190,9 +186,9 @@ When Python is installed, you have to install GTK. Download the latest `GTK3
installer`_ and launch it. If you don’t know what some options mean, you can
safely keep the default options selected.

When everything is OK, you can launch a command prompt by clicking on the Start
menu, typing "cmd" and clicking the "Command Prompt" icon. You can then install
WeasyPrint in a `virtual environment`_ using `pip`_::
You can then launch a command prompt by clicking on the Start menu, typing
"cmd" and clicking the "Command Prompt" icon. Install WeasyPrint in a `virtual
environment`_ using `pip`_::

python3 -m venv venv
venv\Scripts\activate.bat
Expand Down

0 comments on commit 61fb3c9

Please sign in to comment.