This is an automated email from the ASF dual-hosted git repository.

kevinjqliu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git


The following commit(s) were added to refs/heads/main by this push:
     new b67caf269 Add LICENSE and NOTICE files for pyiceberg-core source 
distribution and wheel (#1653)
b67caf269 is described below

commit b67caf2693e69ed942a8ac8f5643d7565af0d892
Author: Sumanth <[email protected]>
AuthorDate: Mon Sep 8 10:31:46 2025 +0530

    Add LICENSE and NOTICE files for pyiceberg-core source distribution and 
wheel (#1653)
    
    ## Which issue does this PR close?
    
    <!--
    We generally require a GitHub issue to be filed for all bug fixes and
    enhancements and this helps us generate change logs for our releases.
    You can link an issue to this PR using the GitHub syntax. For example
    `Closes #123` indicates that this PR will close issue #123.
    -->
    
    - None.
    
    ## What changes are included in this PR?
    
    This adds LICENSE and NOTICE files to the PyPI sdist which is needed for
    distributing conda package. Also add those files to the wheel
    distribution
    
    <!--
    Provide a summary of the modifications in this PR. List the main changes
    such as new features, bug fixes, refactoring, or any other updates.
    -->
    
    ## Are these changes tested?
    
    <!--
    Specify what test covers (unit test, integration test, etc.).
    
    If tests are not included in your PR, please explain why (for example,
    are they covered by existing tests)?
    -->
    
    ---------
    
    Co-authored-by: Kevin Liu <[email protected]>
---
 bindings/python/LICENSE        | 1 +
 bindings/python/NOTICE         | 1 +
 bindings/python/pyproject.toml | 5 +++++
 3 files changed, 7 insertions(+)

diff --git a/bindings/python/LICENSE b/bindings/python/LICENSE
new file mode 120000
index 000000000..30cff7403
--- /dev/null
+++ b/bindings/python/LICENSE
@@ -0,0 +1 @@
+../../LICENSE
\ No newline at end of file
diff --git a/bindings/python/NOTICE b/bindings/python/NOTICE
new file mode 120000
index 000000000..fb376cfaa
--- /dev/null
+++ b/bindings/python/NOTICE
@@ -0,0 +1 @@
+../../NOTICE
\ No newline at end of file
diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml
index 85af1e000..71880ef18 100644
--- a/bindings/python/pyproject.toml
+++ b/bindings/python/pyproject.toml
@@ -34,11 +34,16 @@ name = "pyiceberg-core"
 readme = "project-description.md"
 requires-python = "~=3.9"
 dynamic = ["version"]
+license = { file = "LICENSE" }
 
 [tool.maturin]
 features = ["pyo3/extension-module"]
 module-name = "pyiceberg_core.pyiceberg_core_rust"
 python-source = "python"
+include = [
+    { path = "LICENSE", format = ["sdist", "wheel"] },
+    { path = "NOTICE", format = ["sdist", "wheel"] }
+]
 
 [tool.ruff.lint]
 ignore = ["F403", "F405"]

Reply via email to