From 4572d4729853e863eb4ddf783ad186a7c77a4a2a Mon Sep 17 00:00:00 2001 From: Julien Stephan Date: Thu, 18 Dec 2025 11:50:58 +0100 Subject: [PATCH] Include libsodium license in wheels The libsodium license is currently missing from the PyNaCl wheels. PyNaCL distributes libsodium in binary form in its wheels and so should also include its license. Fix this by creating a symlink for libsodium license into newly created license folder and updating accordingly setup.cfg file. Signed-off-by: Julien Stephan --- licenses/LICENSE.libsodium.txt | 1 + setup.cfg | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 120000 licenses/LICENSE.libsodium.txt diff --git a/licenses/LICENSE.libsodium.txt b/licenses/LICENSE.libsodium.txt new file mode 120000 index 00000000..60fceb1b --- /dev/null +++ b/licenses/LICENSE.libsodium.txt @@ -0,0 +1 @@ +../src/libsodium/LICENSE \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index fd7bb222..92bcaa1e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,8 @@ [metadata] -license_files = LICENSE +license = Apache-2.0 +license_files = + LICENSE + licenses/LICENSE.libsodium.txt [flake8] ignore = E203,E501,W503,W504