Update the bypy README

This commit is contained in:
Kovid Goyal 2023-08-28 09:01:28 +05:30
parent 05a398750e
commit 0dbf84c73c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -26,7 +26,8 @@ page for details). Once the dependencies are installed, run::
./setup.py bootstrap
To make the Windows and macOS builds it uses QEMU VMs. Instructions on
All building is done inside QEMU VMs. Linux VMs are auto-created as needed,
Windows and macOS VMs must be created manually. Instructions on
creating the VMs are in the bypy repo under :file:`virtual_machine/README.rst`.
Required software for the VMs are listed in :file:`bypy/windows.conf` and
:file:`bypy/macos.conf`.
@ -34,10 +35,10 @@ Required software for the VMs are listed in :file:`bypy/windows.conf` and
Linux
-------
To build the 64bit and 32bit dependencies for calibre, run::
To build the Intel and ARM dependencies for calibre, run::
./setup.py build_dep linux
./setup.py build_dep linux 32
./setup.py build_dep linux-arm64
The output (after a very long time) will be in :literal:`bypy/b/linux/[32|64]`
@ -45,7 +46,7 @@ Now you can build the calibre Linux tarballs with::
./setup.py linux
The output will be in :literal:`dist`
The output will be in :file:`dist`
macOS
@ -62,7 +63,7 @@ Now you can build the calibre ``.dmg`` with::
./setup.py osx --dont-sign --dont-notarize
The output will be in :literal:`dist`
The output will be in :file:`dist`
Windows
@ -74,11 +75,10 @@ Make sure all software mentioned in :file:`bypy/windows.conf` is installed.
To build the dependencies for calibre, run::
./setup.py build_dep windows
./setup.py build_dep windows 32
The output (after a very long time) will be in :literal:`bypy/b/windows/[32|64]`.
Now you can build the calibre windows installers with::
./setup.py win --dont-sign
The output will be in :literal:`dist`
The output will be in :file:`dist`