Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/packages/ta-lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ versions:
- filename: ta_lib-0.8.1-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl
sha256: 89d8457612814e736a9e9285ad2c6b2ce296fb04fe5865ffa70f75198d0510b8
requires-python: '>=3.9'
- version: 0.8.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
From 4b6ec692350791f91c97014836fc04bb0986d102 Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
Date: Thu, 24 Sep 2026 11:24:26 +0000
Subject: [PATCH] Widen license-files to cover the vendored TA-Lib C licence

license-files = ["LICENSE"] is an explicit PEP 639 list, so it replaces
setuptools' default LICEN[CS]E* glob rather than adding to it. The Linux,
macOS and Windows wheels dynamically link libta-lib, built from the
TA-Lib C library release that tools/build_talib_linux.sh (and its macOS/
Windows equivalents) downloads at build time from TA-Lib/ta-lib, which is
licensed under the 3-clause BSD licence whose clause 2 requires the
copyright notice to be reproduced in binary redistributions -- but the
built wheel ships only ta-lib-python's own LICENSE.

Widening the list to also match LICENSE.* lets a LICENSE.ta-lib-c dropped
at the project root reach dist-info/licenses/ with no other packaging
change.

Upstream-Status: To upstream [not yet submitted; the same gap exists in every ta-lib wheel on PyPI, so this needs a maintainer discussion rather than a drive-by PR]

Signed-off-by: Ludovic Henry <git@ludovic.dev>
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index 904070d..4c9d222 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,7 +7,7 @@ name = "TA-Lib"
version = "0.8.2"
description = "Python wrapper for TA-Lib"
readme = "README.md"
-license-files = ["LICENSE"]
+license-files = ["LICENSE", "LICENSE.*"]
authors = [
{name = "John Benediktsson", email = "mrjbq7@gmail.com"}
]
--
2.43.0

Loading