amogh-jahagirdar commented on code in PR #6704:
URL: https://github.com/apache/iceberg/pull/6704#discussion_r1090854455


##########
python/pyproject.toml:
##########
@@ -39,11 +39,13 @@ packages = [
     { from = "vendor", include = "fb303" },
     { from = "vendor", include = "hive_metastore" },
     { include = "tests", format = "sdist" },
-    { include = "dev/check-license", format = "sdist" },
     { include = "Makefile", format = "sdist" },
     { include = "NOTICE", format = ["sdist", "wheel"] }
 ]
 
+include = [
+    {path = "dev", format = "sdist"}
+]

Review Comment:
   Made a separate list instead of adding in packages which seems to be what 
https://python-poetry.org/docs/pyproject/#include-and-exclude suggests.
   
   When I tried adding the glob "dev/*" to the existing packages list I would 
always get errors saying that the files were not packages which makes sense, 
but when I add the files individually it works. Since we want to include 
everything in the dev folder, to make it easier in the future I went this route.
   
   Technically we can add the Makefile, NOTICE files as well but I didn't want 
to make this change more intrusive before release.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to