FreeCAD Academy


Licenses

The <license> tag specifies the license of part or all of the content found in your addon / project / repository.


General

At least one <license> tag has to be present inside the <package> tag, however multiple are common in cases where for example your code & assets use different licenses.

» Check the Manifest of the Template for an example.


Syntax

Specify the SPDX License Identifier as the content of the <license> tag and the path from the root to the license file in the file attribute.

<license
    file = '‹Path›'
>‹SPDX License Identifier›</license>

Exceptions


Example

The following example references the Template repository’s licensing setup.

The addon has 2 licenses, a GPL license for the code and a Creative Commons one for the icons.

<Repository>
└─ LICENSE-CODE
└─ LICENSE-ICON
<license
    file = 'LICENSE-CODE'
>LGPL-3.0-or-later</license>

<license
    file = 'LICENSE-ICON'
>CC-BY-SA-4.0</license>