hequn8128 commented on a change in pull request #9932: [FLINK-14445][python] 
fix python module build failed when making sdist.
URL: https://github.com/apache/flink/pull/9932#discussion_r336366004
 
 

 ##########
 File path: flink-python/setup.py
 ##########
 @@ -62,6 +62,10 @@
 in_flink_source = 
os.path.isfile("../flink-java/src/main/java/org/apache/flink/api/java/"
                                  "ExecutionEnvironment.java")
 
+# Due to changes in FLINK-14008, the licenses directory and NOTICE file may 
not exist in
+# build-target folder. Just ignore them in this case.
+copy_licenses = None
 
 Review comment:
   @WeiZhong94 Thanks a lot for the quick fix! Looks good to me except the 
variable name, i.e., change `copy_licenses` to `exist_licenses`. 
   
   I will merge this during the merge. Merging...

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to