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

fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 3368a5cd7e Python: Add NOTICE to source dist and wheel (#5843)
3368a5cd7e is described below

commit 3368a5cd7e4a30808026cdb8f2a4e80e3f4dea56
Author: Fokko Driesprong <[email protected]>
AuthorDate: Fri Sep 23 20:30:28 2022 +0200

    Python: Add NOTICE to source dist and wheel (#5843)
    
    ```
    ➜  python git:(master) ✗ poetry build
    Building pyiceberg (0.1.0.dev0)
      - Building sdist
      - Built pyiceberg-0.1.0.dev0.tar.gz
      - Building wheel
      - Built pyiceberg-0.1.0.dev0-py3-none-any.whl
    ➜  python git:(master) ✗ cd dist
    ➜  dist git:(master) ✗ tar -xf pyiceberg-0.1.0.tar.gz
    tar: Error opening archive: Failed to open 'pyiceberg-0.1.0.tar.gz'
    ➜  dist git:(master) ✗ tar -xf pyiceberg-0.1.0.dev0.tar.gz
    ➜  dist git:(master) ✗ cd pyiceberg-0.1.0.dev0
    ➜  pyiceberg-0.1.0.dev0 git:(master) ✗ ls -lah | grep -i notice
    -rw-r--r--   1 fokkodriesprong  staff   251B Jun 14 21:52 NOTICE
    ```
---
 python/pyproject.toml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/python/pyproject.toml b/python/pyproject.toml
index 3a51fca34e..dc672d9671 100644
--- a/python/pyproject.toml
+++ b/python/pyproject.toml
@@ -38,7 +38,8 @@ packages = [
     { from = "vendor", include = "fb303" },
     { from = "vendor", include = "hive_metastore" },
     { include = "tests", format = "sdist" },
-    { include = "Makefile", format = "sdist" }
+    { include = "Makefile", format = "sdist" },
+    { include = "NOTICE", format = ["sdist", "wheel"] }
 ]
 
 

Reply via email to