Building Packages

Documentation of how to build packages for various platforms.

1. .deb-based distros

Use Docker, and run make docker-{debian,ubuntu}-$RELEASE eg make docker-debian-buster or make docker-ubuntu-xenial. If a release codename is missing you may need to edit (and preferably send us a patch) Makefile to add the new release.

2. .rpm-based distros

Use docker, and run make docker-fedoraN or make docker-centosN as appropriate for your release, eg make docker-fedora30 or make docker-centos8. As with debian distros, please feel encouraged to add missing releases as needed to the Makefile.

3. macOS

Requires a Mac with Xcode installed. Run make osx and an installer package will be built.

4. Windows

On a fresh system, the PowerShell script contrib/install-windows-dependencies.ps1 can be used to download the required dependencies.

Open an MSVC++ 2008 or MSVC++ Compiler Package for Python 2.7 command prompt, and navigate to the root of the repository. The 32-bit command prompt builds 32-bit installers; the 64-bit command prompt builds 64-bit installers.

4.1. Inno

py -3 contrib\packaging\packaging.py inno --python C:\Python27\python.exe

4.2. WiX

py -3 contrib\packaging\packaging.py wix --python C:\Python27\python.exe

Windows build legacy instructions.


BuildingPackages (last edited 2020-02-27 05:08:45 by MattHarbison)